Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyHandler ¶
type ProxyHandler struct { Timeout time.Duration Username *string Password *string LogAuth bool LogHeaders bool Socks5Forward *Socks5Forward }
func NewProxyHandler ¶
func NewProxyHandler(timeoutSeconds int) *ProxyHandler
func (*ProxyHandler) ServeHTTP ¶
func (p *ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type Socks5Forward ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.