Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiProxy ¶
MultiProxy holds the state for the HTTP proxy and WS proxy
func NewProxy ¶
func NewProxy(targetURL string, hostname string) *MultiProxy
NewProxy returns a new multiproxy
func (*MultiProxy) Proxy ¶
func (p *MultiProxy) Proxy(w http.ResponseWriter, r *http.Request)
Proxy determines whether to proxy a HTTP request or a WS one
Click to show internal directories.
Click to hide internal directories.