httpfileserver

command module
v0.0.0-...-dc06c29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2017 License: MIT Imports: 14 Imported by: 0

README

httpfileserver

极简文件服务器,默认后台运行,配合内网穿透可以实现访问运行目录下的文件,默认80端口,编译命令:go build -ldflags "-H windowsgui -s -w" serve.go可以实现后台运行,建议加个upx的壳,可以进一步减小体积。

Documentation

Overview

来源: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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL