Documentation ¶
Index ¶
Constants ¶
View Source
const ( SocksVer5 = 0x05 NO_AUTHENTICATION_REQUIRED = 0x00 NO_ACCEPTABLE_METHODS = 0xFF ATYP_IP4 = 0x01 ATYP_DOMAIN = 0x03 ATYP_IP6 = 0x04 )
View Source
const ( SocksVer4 = 0x04 REQUEST_REJECTED = 0x5B )
Variables ¶
This section is empty.
Functions ¶
func HandleSocks4 ¶
func HandleSocks4(conn io.ReadWriter) (target string, err error)
func HandleSocks5 ¶
func HandleSocks5(conn io.ReadWriter) (target string, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.