proxy

package
v0.13.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL