Simple & Out-of-the-box Static File Web Server, support minio backend
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.
 
 
Lunny Xiao e25c6f09bf
small image
3 months ago
vendor Update vendor and docker file and drone config 3 months ago
.drone.yml Update vendor and docker file and drone config 3 months ago
.gitignore init 5 years ago
Dockerfile small image 3 months ago
README.md Update README 3 months ago
config.ini.example Support minio 3 months ago
go.mod Support minio 3 months ago
go.sum Support minio 3 months ago
gos.go Support minio 3 months ago
s3.go Fix bug 3 months ago
settings.go Support minio 3 months ago

README.md

Gos

Build Status

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