proxy.golang.org : github.com/gookit/webproxy
Package webproxy is a simple http proxy tool. Refer: 使用说明: 1. 作为中间件 - 匹配成功就代理请求,否则跳过当前请求。 2. 直接作为路由path handler - 代理此路由下的所有请求(相当于作为中间件时,ctx为一个url path) 参数说明: proxy.New() 接收两个参数:第一个是要匹配的信息,第二个是一些选项设置 关于参数 'ctx',它允许为:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/gookit/webproxy
Keywords:
http-proxy
License: MIT
Latest release: about 6 years ago
First release: about 6 years ago
Namespace: github.com/gookit
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago