This project is a file server written in Go. The difference
from the standard library file server
is that you can specify custom Error
and NotFound
handlers to respond with
rather than being stuck using the built-in ones that only respond with text.
Note, this project is a fork of the Go source for serving files. The difference is just what was needed to implement the custom handlers.
This was inspired by the development of the book Go in Practice when writing about file service and solving some common problems.
The license is the same as Go itself.
- Move the tests over.