Documentation ¶ Index ¶ func IsRetryable(err error) bool type Proxy func New() *Proxy func (p *Proxy) ConfigTransport(f func(tr *http.Transport)) func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsRetryable ¶ func IsRetryable(err error) bool Types ¶ type Proxy ¶ type Proxy struct { OnDialError func(addr string) // contains filtered or unexported fields } func New ¶ func New() *Proxy func (*Proxy) ConfigTransport ¶ func (p *Proxy) ConfigTransport(f func(tr *http.Transport)) func (*Proxy) ServeHTTP ¶ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files buffer.go dialer.go gateway.go proxy.go transport.go Click to show internal directories. Click to hide internal directories.