go.mod | ||
go.sum | ||
handler.go | ||
LICENSE | ||
README.md |
Handler
Provides simple HTTP file server
Installation
go install git.thirdage.dev/night/handler@latest
Examples
Calling without any arguments defaults to serving ./
at 0.0.0.0:8080
./handler
Changing default settings
a
sets ip addressp
sets portd
sets directory to serve
./handler -a 127.0.0.1 -p 3000 -d ./foo/bar