Simple & Out-of-the-box Static File Web Server.
go get github.com/go-tango/gos
go install github.com/go-tango/gos
Run gos
gos
Help
gos -help
Usage of gos:
-dir="./public": static dir path
-exts="": filtered ext files will be supplied
-listDir=false: if list dir files
-listen=":8000": listen port
-mode=0: run mode, 0: dev, 1: product
-pass="": basic auth user password
-user="": basic auth user name
Maintain by lunny