Static HTTP server written in Golang.
This is just one of my practice projects. Don't expect it to be ready for production usage.
Use go build
or go install
to build or install the program.
- Support for common file types(
text/html
,text/json
, ...) - Full support for HTTP cache (
If-Modified-Since
,Last-Modified
,Cache-Control
) - List directory using default HTML template
- Write
Makefile
, make sure it can be easilly installed - Add doc comments
- Add test cases
- Integrate with Travis CI and Codecov.io.
- Release version 0.1
- Color output for
log
. - Configuration for controlling access from local network and Internet (default to
localhost
only) - Release version 0.1.1
- Implement native in-memory cache
- Implement
CacheManager
for cache using other source, e.g. Redis. - Use fsnotify to implement a more efficient support for HTTP cache
- Release version 0.2
- Support for GZip
- Support for HTTPS
- Release version 0.3
- Support for secure file upload with token-based authentication