You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
vendor | 2 years ago | |
.drone.yml | 2 years ago | |
.gitignore | 8 years ago | |
Dockerfile | 2 years ago | |
README.md | 2 years ago | |
config.ini.example | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
gos.go | 1 year ago | |
s3.go | 2 years ago | |
settings.go | 1 year ago |
README.md
Gos
Simple & Out-of-the-box Static File Web Server.
Usage
go get gitea.com/tango/gos
go install gitea.com/tango/gos
Run gos
gos
Help
gos -help
Usage of gos:
-type="file": serve file system or s3 for minio
-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
-config="config.ini": default config file, default will be used if file not exist
Contact
Maintain by lunny