Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnectionAddressIpv4 byte = 1 ConnectionAddressIpv6 byte = 4 ConnectionAddressDomain byte = 3 )
View Source
const ( Sock4Version byte = 4 Sock5Version byte = 5 ConnectionCommandConnect byte = 1 )
Variables ¶
This section is empty.
Functions ¶
func HandleSOCKS5RequestWithFirstByte ¶
func HandleSOCKS5RequestWithFirstByte(conn net.Conn, authInfo *transport.HTTPSOCKSAuthInfo, handler transport.ConnectionContinuationHandler) error
func ReadSOCKS5Address ¶
func ReadSOCKS5Address(r io.Reader) (dest *transport.SocketAddress, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.