Versions in this module Expand all Collapse all v0 v0.0.1 Apr 28, 2016 Changes in this version + type Handler func(r *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) + type Proxy struct + func NewProxy(proxyHandler Handler, caKeyPath, caCertPath string, ...) (*Proxy, error) + func NewReverseProxy(proxyHandler Handler) (*Proxy, error) + func (proxy *Proxy) Serve(listenAddr, crtFile, keyFile string, shutdownTimeout time.Duration) error + func (proxy *Proxy) Stop() <-chan struct{}