Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultipleReverseProxy ¶
type MultipleReverseProxy struct {
// contains filtered or unexported fields
}
func NewMultipleReverseProxy ¶
func NewMultipleReverseProxy() *MultipleReverseProxy
func (*MultipleReverseProxy) Endpoint ¶
func (mp *MultipleReverseProxy) Endpoint() string
func (*MultipleReverseProxy) ServeHTTP ¶
func (mp *MultipleReverseProxy) ServeHTTP(w http.ResponseWriter, in *http.Request)
type ReverseProxy ¶
type ReverseProxy struct { Host string Prefix string Proxy *httputil.ReverseProxy }
func NewReverseProxy ¶
func NewReverseProxy(prefix, host string) *ReverseProxy
func (*ReverseProxy) Director ¶
func (rp *ReverseProxy) Director(out *http.Request)
func (*ReverseProxy) ServeHTTP ¶
func (rp *ReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.