Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpsProxy ¶
type HttpsProxy struct {
// contains filtered or unexported fields
}
func (*HttpsProxy) ServeHTTP ¶
func (p *HttpsProxy) ServeHTTP(w http.ResponseWriter, req *http.Request)
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...ProxyOption) *Proxy
type ProxyOption ¶
type ProxyOption func(p *Proxy)
func WithPort ¶
func WithPort(port string) ProxyOption
func WithSocks ¶
func WithSocks(socks string) ProxyOption
func WithTrace ¶
func WithTrace(enabled bool) ProxyOption
Click to show internal directories.
Click to hide internal directories.