Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheRangeItem ¶
type CacheRanger ¶
type CacheRanger func(r CacheRangeItem)
type CacheStorage ¶
type CacheStorage interface {
Create(key string) CacheWriter
Open(key string) io.ReadCloser
Remove(key string)
Range(f CacheRanger)
}
type CacheWriter ¶
type CacheWriter interface {
io.WriteCloser
Remove() error
}
type Proxy ¶
type Proxy struct {
Logger *log.Logger
PrivateKey *ecdsa.PrivateKey
Certificate *x509.Certificate
TLSConfig *tls.Config
Transport *http.Transport
CacheStorage CacheStorage
BlacklistHosts []string
TunnelHosts []string
TunnelNotBrowser bool
RedirectHTTPS bool
Auth func(r *http.Request) bool
// contains filtered or unexported fields
}
type RetryDialer ¶
func (*RetryDialer) DialContext ¶
Click to show internal directories.
Click to hide internal directories.