Versions in this module Expand all Collapse all v0 v0.0.6 May 11, 2019 v0.0.5 May 19, 2017 v0.0.4 May 18, 2017 Changes in this version + func MatchRule(rule ProxyRule, req http.Request) bool type HTTPProxy + ProxyRules []ProxyRule + func (p *HTTPProxy) ApplyProxyPassRule(rule ProxyRule, req *http.Request) + type ProxyPass struct + Host string + Method string + Path string + Scheme string + type ProxyRequest struct + Host string + Method string + Path string + type ProxyRule struct + Pass ProxyPass + Request ProxyRequest v0.0.3 Mar 7, 2017 Changes in this version + type HTTPProxy struct + Host string + Insecure bool + Port int + Protocol string + ProxyClientSslCa string + ProxyClientSslCert string + ProxyClientSslKey string + ProxyHost string + ProxyPort int + ProxyProtocol string + ProxySslCertificate string + ProxySslKey string + func (p *HTTPProxy) Proxy() + func (p *HTTPProxy) Setup(middleware []muxy.Middleware) + func (p *HTTPProxy) Teardown() + type TCPProxy struct + HexOutput bool + Host string + NaglesAlgorithm bool + PacketSize int + Port int + ProxyHost string + ProxyPort int + func (p *TCPProxy) Proxy() + func (p *TCPProxy) Setup(middleware []muxy.Middleware) + func (p *TCPProxy) Teardown() v0.0.2 Jan 6, 2016 v0.0.1 Jan 6, 2016 Changes in this version + type FilterFunc func(*http.Request, *http.Response) + type HttpProxy struct + Host string + Port int + Protocol string + ProxyHost string + ProxyPort int + ProxyProtocol string + func (p *HttpProxy) Proxy() + func (p *HttpProxy) Setup(middleware []muxy.Middleware) + func (p *HttpProxy) Teardown() + type ReverseProxy struct + Director func(*http.Request) + FlushInterval time.Duration + Middleware []muxy.Middleware + Transport http.RoundTripper + func NewSingleHostReverseProxy(target *url.URL) *ReverseProxy + func (p *ReverseProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type TcpProxy struct + HexOutput bool + Host string + NaglesAlgorithm bool + PacketSize int + Port int + ProxyHost string + ProxyPort int + func (p *TcpProxy) Proxy() + func (p *TcpProxy) Setup(middleware []muxy.Middleware) + func (p *TcpProxy) Teardown()