Documentation ¶ Index ¶ Variables type Proxy func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ View Source var ( // Base path sent to web service. // This is stripped from the request path // Allows the web service to define absolute paths BasePathHeader = "X-Micro-Web-Base-Path" ) Functions ¶ This section is empty. Types ¶ type Proxy ¶ type Proxy struct { Default *httputil.ReverseProxy Director func(r *http.Request) } func (*Proxy) ServeHTTP ¶ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files proxy.go Click to show internal directories. Click to hide internal directories.