Versions in this module Expand all Collapse all v0 v0.0.1 May 16, 2020 Changes in this version + func SetLogger(l Logger) + type ConfData struct + DestAddr *net.TCPAddr + type Logger interface + Print func(args ...interface{}) + Printf func(format string, args ...interface{}) + Println func(args ...interface{}) + type Proxy struct + C chan ConfData + func NewProxy(listener *net.TCPListener) (*Proxy, error) + func (p *Proxy) SetKeepAlive(keepalive bool) + func (p *Proxy) SetKeepAliveCount(n int) + func (p *Proxy) SetKeepAliveIdle(d time.Duration) + func (p *Proxy) SetKeepAliveInterval(d time.Duration) + func (p *Proxy) SetupKeepAlive(conn *net.TCPConn) error + func (p *Proxy) Start() error + func (p *Proxy) Stop()