Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProxyPool map[string]*ProxyServer = make(map[string]*ProxyServer, 0)
Functions ¶
Types ¶
type ProxyServer ¶ added in v0.0.2
type ProxyServer struct { ReverseProxy *proxy.ReverseProxy WSReverseProxy *proxy.WSReverseProxy // contains filtered or unexported fields }
* 使用fasthttp实现的http反向代理,支持http,ws,https,wss的代理映射
func (*ProxyServer) ProxyHandler ¶ added in v0.0.2
func (proxyServer *ProxyServer) ProxyHandler(ctx *fasthttp.RequestCtx)
Click to show internal directories.
Click to hide internal directories.