Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSingleHostReverseProxy ¶
func NewSingleHostReverseProxy(target *url.URL) *httputil.ReverseProxy
Types ¶
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
func (*ProxyServer) ServeHTTP ¶
func (server *ProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*ProxyServer) Start ¶
func (server *ProxyServer) Start(address string) error
Click to show internal directories.
Click to hide internal directories.