Documentation ¶ Index ¶ Variables func Recv(ctx context.Context, c net.Conn) (version byte, addr string, e error) func Send(c net.Conn, version byte) (e error) func SendDialError(c net.Conn, version byte) (e error) Constants ¶ This section is empty. Variables ¶ View Source var ErrBufferOverflow = errors.New(`buffer overflow`) Functions ¶ func Recv ¶ func Recv(ctx context.Context, c net.Conn) (version byte, addr string, e error) func Send ¶ func Send(c net.Conn, version byte) (e error) func SendDialError ¶ func SendDialError(c net.Conn, version byte) (e error) Types ¶ This section is empty. Source Files ¶ View all Source files api.go socks4.go socks5.go Click to show internal directories. Click to hide internal directories.