Go to file
2023-02-02 22:55:58 -05:00
go.mod update go version 2023-02-02 22:55:53 -05:00
go.sum removed unnecessary dependancies 2022-06-21 12:56:21 -04:00
handler.go update purpose 2023-02-02 22:55:58 -05:00
LICENSE initial 2022-04-18 18:13:53 -04:00
README.md update purpose 2023-02-02 22:55:58 -05:00

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 address
  • p sets port
  • d sets directory to serve
./handler -a 127.0.0.1 -p 3000 -d ./foo/bar