The file server based on TCP protocol, without HTTP protocol packing, does not need frequent malloc or GC, now supports
- HTTP/1.1 HTTP/2 upload
- TCP direct transmission
- HTTP/ALL download
- User defined file upload type
- HTTP download support resize the image
-
for docker
docker build --build-arg domino=localhost\/ --build-arg user=admin --build-arg pass=admin -t fserver .
docker run -p 8105:8105 -d fserver
-
for local
go build fserver.go
./fserver -domino=localhost\/ -user=admin --pass=admin