Versions in this module Expand all Collapse all v1 v1.1.1 Jan 23, 2020 Changes in this version + var ErrAuthFailed = errors.New("authentication failed") + var ErrInvalidProxyResponse = errors.New("invalid proxy response") + var ErrNoAcceptableAuthMethod = errors.New("no acceptable authentication method") + var ErrPoolMaxConnections = errors.New("maximum number of connections reached") + type Pool struct + func NewPool(proxy Proxy, maxOpen uint32) *Pool + func (p *Pool) DialContext(ctx context.Context, network, address string) (net.Conn, error) + type ProxiedAddr struct + Host string + Net string + Port int + func (a *ProxiedAddr) Network() string + func (a *ProxiedAddr) String() string + type Proxy struct + Addr string + Password string + TorIsolation bool + Username string + func (p *Proxy) Dial(network, addr string) (net.Conn, error) + func (p *Proxy) DialContext(ctx context.Context, network, addr string) (net.Conn, error) + func (p *Proxy) DialTimeout(network, addr string, timeout time.Duration) (net.Conn, error)