Skip to content

A Go Fileserver where you can specify custom NotFound and Error response handlers.

Notifications You must be signed in to change notification settings

Masterminds/go-fileserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Fileserver

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.

Go in Practice

This was inspired by the development of the book Go in Practice when writing about file service and solving some common problems.

License

The license is the same as Go itself.

Todo

  • Move the tests over.

About

A Go Fileserver where you can specify custom NotFound and Error response handlers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages