Documentation ¶
Index ¶
Constants ¶
View Source
const MaxAddrLen = 1 + 1 + 255 + 2
MaxAddrLen is the maximum size of SOCKS address in bytes.
Variables ¶
This section is empty.
Functions ¶
func NewTCPHandler ¶
func NewTCPHandler(proxyHost string, proxyPort uint16, fakeDns dns.FakeDns, sessionStater stats.SessionStater) core.TCPConnHandler
func NewUDPHandler ¶
func NewUDPHandler(proxyHost string, proxyPort uint16, timeout time.Duration, fakeDns dns.FakeDns, sessionStater stats.SessionStater) core.UDPConnHandler
Types ¶
Click to show internal directories.
Click to hide internal directories.