Versions in this module Expand all Collapse all v1 v1.2.2 Sep 5, 2018 Changes in this version + type Dialer func() (net.Conn, error) + type Logger interface + Printf func(format string, v ...interface{}) + type Proxy struct + ConnectTimeout time.Duration + Dial Dialer + Listener net.Listener + Logger Logger + func New(listener net.Listener, timeout time.Duration, dial Dialer, logger Logger) *Proxy + func (p *Proxy) Accept() + func (p *Proxy) Shutdown() + func (p *Proxy) Wait()