Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiHostReverseProxy ¶
type MultiHostReverseProxy struct {
httputil.ReverseProxy
Directors map[string]map[config.RouteType]map[string]func(req *http.Request)
PolicySelector policy.Selector
// contains filtered or unexported fields
}
MultiHostReverseProxy extends httputil to support multiple hosts with diffent policies
func NewMultiHostReverseProxy ¶
func NewMultiHostReverseProxy(opts ...Option) *MultiHostReverseProxy
NewMultiHostReverseProxy undocummented
func (*MultiHostReverseProxy) ServeHTTP ¶
func (p *MultiHostReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.