hezhizheng / go-reverse-proxy

基于go实现简单http/https的反向代理服务

Home Page:https://hzz.cool/blog/implementation-of-simple-http-and-https-reverse-proxy-by-golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-reverse-proxy

基于go实现简单http/https的反向代理服务

使用

  • windows64 直接下载 releases
  • 编译
git clone 
cd go-reverse-proxy

# 编译
go build -ldflags "-s -w"

# 执行启动
./go-reverse-proxy

参数说明

./go-reverse-proxy.exe -h

-p string
      本地监听的端口 (default "1874")
-r string
      需要代理的地址 (default "https://hzz.cool")

About

基于go实现简单http/https的反向代理服务

https://hzz.cool/blog/implementation-of-simple-http-and-https-reverse-proxy-by-golang

License:MIT License


Languages

Language:Go 100.0%