github.com/gookit/webproxy
Package webproxy is a simple http proxy tool. Refer: 使用说明: 1. 作为中间件 - 匹配成功就代理请求,否则跳过当前请求。 2. 直接作为路由path handler - 代理此路由下的所有请求(相当于作为中间件时,ctx为一个url path) 参数说明: proxy.New() 接收两个参数:第一个是要匹配的信息,第二个是一些选项设置 关于参数 'ctx',它允许为:
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 7 years ago
v0.0.0-20190407063238-dbd4f01feb1f
almost 7 years ago
Versions
1
1
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/gookit/webproxy
spec |
| License | MIT |
| Namespace | github.com/gookit |
| First Release | almost 7 years ago |
| Last Synced | 8 days ago |
Keywords
http-proxy
http-proxy
Repository
| Stars | 2 on GitHub |
| Forks | 0 on GitHub |