Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenHTTPWithProxy ¶
func NewProxyHandler ¶
func NewProxyHandler(toUrl url.URL) *httputil.ReverseProxy
Types ¶
type ServerProxy ¶
type ServerProxy struct {
}
func (*ServerProxy) ListenAndServe ¶
func (s *ServerProxy) ListenAndServe(addr string, handler http.HandlerFunc) error
type TestProxy ¶
type TestProxy struct {
Addr string
Handler http.HandlerFunc
}
func (*TestProxy) ListenAndServe ¶
func (t *TestProxy) ListenAndServe(addr string, handler http.HandlerFunc) error
type TransportLogger ¶
type TransportLogger struct{}
Click to show internal directories.
Click to hide internal directories.