Documentation ¶
Index ¶
Constants ¶
View Source
const ( AddrIPv4 = 0x01 AddrDomainName = 0x03 AddrIPv6 = 0x04 )
View Source
const ( AuthNoAuthRequired = 0x00 AuthGSSAPI = 0x01 AuthUsernamePassword = 0x02 AuthNoAcceptableMethods = 0xff )
View Source
const ( CmdConnect = 0x01 CmdBind = 0x02 CmdUDPAssociate = 0x03 )
View Source
const ( RepSucceeded = 0x00 RepGeneralSOCKSServerFailure = 0x01 RepConnectionNotAllowed = 0x02 RepNetworkUnreachable = 0x03 RepHostUnreachable = 0x04 RepConnectionRefused = 0x05 RepTTLExpired = 0x06 RepCommandNotSupported = 0x07 RepAddressTypeNotSupported = 0x08 )
View Source
const SocksVersion = 0x05
Variables ¶
Functions ¶
This section is empty.
Types ¶
type MethodSelection ¶
type UsernamePasswordRequest ¶
type UsernamePasswordRequest struct { VER byte // This is always 1 ULEN byte UNAME []byte PLEN byte PASSWD []byte }
RFC1929 types
type VersionIdentifier ¶
RFC1928 types
Click to show internal directories.
Click to hide internal directories.