Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrWrongNetwork = errors.String("network should be tcp or tcp4") // socks4 protocol supports only tcp/ip v4 connections ErrDialFailed = errors.String("socks4 dial") // connection to socks4 server failed ErrWrongAddr = errors.String("wrong addr: %s") // provided addr should be in format host:port ErrConnRejected = errors.String("connection to remote host was rejected") // connection was rejected by proxy ErrIdentRequired = errors.String("valid ident required") // proxy requires valid ident. Check Ident variable ErrIO = errors.String("i\\o error") // some i\o error happened ErrHostUnknown = errors.String("unable to find IP address of host %s") // host dns resolving failed ErrInvalidResponse = errors.String("unknown socks4 server response %v") // proxy reply contains invalid data ErrBuffer = errors.String("unable write into buffer") )
Variables ¶
View Source
var Ident = "nobody@0.0.0.0"
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.