Documentation ¶
Index ¶
- type PathProxyHandler
- func (h *PathProxyHandler) HandleFunc(pattern *regexp.Regexp, handler func(http.ResponseWriter, *http.Request))
- func (h *PathProxyHandler) Handler(pattern *regexp.Regexp, handler http.Handler)
- func (h *PathProxyHandler) Proxy(pattern, targetUrl string) error
- func (h *PathProxyHandler) ProxyDefintions(proxies ProxyDefSet) error
- func (h *PathProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type ProxyDef
- type ProxyDefSet
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathProxyHandler ¶
type PathProxyHandler struct { Routes []*Route // contains filtered or unexported fields }
func (*PathProxyHandler) HandleFunc ¶
func (h *PathProxyHandler) HandleFunc(pattern *regexp.Regexp, handler func(http.ResponseWriter, *http.Request))
func (*PathProxyHandler) Handler ¶
func (h *PathProxyHandler) Handler(pattern *regexp.Regexp, handler http.Handler)
func (*PathProxyHandler) Proxy ¶
func (h *PathProxyHandler) Proxy(pattern, targetUrl string) error
func (*PathProxyHandler) ProxyDefintions ¶
func (h *PathProxyHandler) ProxyDefintions(proxies ProxyDefSet) error
func (*PathProxyHandler) ServeHTTP ¶
func (h *PathProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ProxyDefSet ¶
type ProxyDefSet []ProxyDef
Click to show internal directories.
Click to hide internal directories.