Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Latest commit

 

History

History
36 lines (27 loc) · 537 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 537 Bytes

Gos

Simple & Out-of-the-box Static File Web Server.

Usage

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

Contact

Maintain by lunny