Documentation ¶ Index ¶ func HeaderClone(h http.Header) http.Header type Proxy func NewProxy(myURL *url.URL, version string, roundTripper *badgateway.RoundTripper) *Proxy func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HeaderClone ¶ func HeaderClone(h http.Header) http.Header Types ¶ type Proxy ¶ type Proxy struct { Version string // contains filtered or unexported fields } func NewProxy ¶ func NewProxy(myURL *url.URL, version string, roundTripper *badgateway.RoundTripper) *Proxy func (*Proxy) ServeHTTP ¶ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files proxy.go sendfile.go Click to show internal directories. Click to hide internal directories.