使用
Gin框架实现的高性能静态文件服务器
go install github.com/tc-hib/go-winres@latest
go-winres init
go-winres make
go build
Usage: xserver [OPTIONS]
Options:
-p int Specify the port to run the HTTP server (default: 22345)
-d string Specify the server directory for the HTTP server (default: ./ )
-h Show help message
example: .\xserver -p 12345 -d dist