Simple & Out-of-the-box Static File Web Server, support minio backend
Go to file
Lunny Xiao d7dc7ecebe
All checks were successful
checks / check and test (push) Successful in 23s
remove drone
2023-04-20 09:54:10 +08:00
.gitea/workflows Use actions instead of drone 2023-04-20 09:52:55 +08:00
.gitignore init 2015-01-19 22:53:38 +08:00
config.ini.example Support minio 2020-03-26 17:33:32 +08:00
Dockerfile small image 2020-03-27 10:42:20 +08:00
go.mod Use actions instead of drone 2023-04-20 09:52:55 +08:00
go.sum Use actions instead of drone 2023-04-20 09:52:55 +08:00
gos.go support tls 2021-07-08 15:33:56 +08:00
README.md update README 2023-04-20 09:53:41 +08:00
s3.go Fix bug 2020-03-27 10:18:14 +08:00
settings.go support tls 2021-07-08 15:33:56 +08:00

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