Versions in this module Expand all Collapse all v1 v1.9.8 Sep 24, 2017 Changes in this version type Proxy + func (p *Proxy) StartUnix(proxy string, proxied string) error + type UnixDirector struct + URL string + func (d UnixDirector) Direct(req *http.Request) (err error) v1.9.7 Oct 5, 2016 Changes in this version + const EnvSSLCert + const EnvSSLKey + type BodyWriteCloser interface + NewWriteCloser func(*http.Response) (io.WriteCloser, error) + type Director interface + Direct func(*http.Request) error + type Interceptor interface + Intercept func(*http.Response) error + type Logger interface + Log func(*ProxiedRequest) error + type ProxiedRequest struct + Request *http.Request + Response *http.Response + ResponseWriter http.ResponseWriter + type Proxy struct + func NewProxy() *Proxy + func (p *Proxy) AddBodyWriteCloser(wc BodyWriteCloser) + func (p *Proxy) AddDirector(dir Director) + func (p *Proxy) AddInterceptor(dir Interceptor) + func (p *Proxy) AddLogger(dir Logger) + func (p *Proxy) Reset() + func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (p *Proxy) Start(addr string) error + func (p *Proxy) StartTLS(addr string) error Incompatible versions in this module v2.0.0-rc2+incompatible Feb 11, 2018 v2.0.0-rc1+incompatible Feb 11, 2018