Versions in this module Expand all Collapse all v1 v1.0.0 Sep 1, 2016 Changes in this version + const IP6T_SO_ORIGINAL_DST — linux/amd64 + const ModeNAT + const SO_ORIGINAL_DST — linux/amd64 + func GetOriginalDST(conn *net.TCPConn) (*net.TCPAddr, error) + func Listeners(c *Config) ([]net.Listener, error) + type Config struct + Addr string + Dialer *net.Dialer + Env *cmd.Environment + Logger *log.Logger + Mode Mode + ProxyURL *url.URL + ShutdownTimeout time.Duration + func NewConfig() *Config + type Mode string + func (m Mode) String() string + type Server struct + func NewServer(c *Config) (*Server, error)