This is file server writen by golang.
http-watcher的简化版,除去了其他东西,只保留了文件服务器的东西。
- 支持地址的二维码
- 资源文件打包进到二进制文件
go get -u github.com/jteeuwen/go-bindata/...
go clone https://github.com/codeskyblue/file-server
go build # you may want to copy file-server binary to $PATH for easy use. prebuilt binary comming soonfile-server -port 8000 -root /your/code/root
file-server ARGS # acceptable args list below, -h to show them
-port=8000: Which port to listen
-private=false: Only listen on lookback interface, otherwise listen on all interface
-root=".": the HTTP File Server's root directory
可用的下载有linux和windows两个。从github上下载
