Discover Packages
github.com/gyje/httpfileserver
command
module
Version:
v0.0.0-...-dc06c29
Opens a new window with list of versions in this module.
Published: Oct 10, 2017
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
httpfileserver
极简文件服务器,默认后台运行,配合内网穿透可以实现访问运行目录下的文件,默认80端口,编译命令:go build -ldflags "-H windowsgui -s -w" serve.go
可以实现后台运行,建议加个upx的壳,可以进一步减小体积。
Expand ▾
Collapse ▴
Documentation
¶
来源:https://github.com/Alexendoo/serve
有历史记录good
USAGE:
serve [OPTION]... [DIR]...
OPTIONS:
--host -- bind to host (default: localhost)
-i, --index -- serve all paths to index if file not found
--no-list -- disable directory listings
-p, --port -- bind to port (default: 8080)
-v, --verbose -- display requests and responses
Source Files
¶
Click to show internal directories.
Click to hide internal directories.