Skip to content

sayue2019/go-http-forward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

http端口转发工具,在docker的wine中封装了一个wechat的服务,方便为端口加上访问权限

编译win x86版
GOOS=windows GOARCH=386 go build -o http_forwarder.exe

在docker的wine中运行使用
wine /path/http_forwarder.exe &

使用环境变量设置参数
export FORWARD_URL="http://127.0.0.1:19088"
export LISTEN_PORT="5999"
export ACCESS_PASSWORD="wechat5999"


测试
curl -X POST -d '{"wxid": "filehelper","msg": "我是test"}' 'http://localhost:5999/api/?type=2&password=wechat5999' -H "Content-Type: application/json"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages