Documentation ¶
Index ¶
Constants ¶
View Source
const ( Version byte = 5 AddrIPv4 AddressType = 1 AddrDomainName AddressType = 3 // domain name AddrIPv6 AddressType = 4 CommandConnect Command = 1 CommandBind Command = 2 CommandUdpAssociate Command = 3 CommandMin Command = CommandConnect CommandMax Command = CommandUdpAssociate ReplySuccess Reply = 0 ReplyFailed Reply = 1 ReplyUnreached Reply = 3 ReplyNoSuchHost Reply = 4 ReplyConnectDenied Reply = 5 ReplyTtlOver Reply = 6 ReplyUnsupportedCommand Reply = 7 ReplyUnsupportedAddress Reply = 8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressType ¶
type AddressType byte
func (AddressType) String ¶
func (at AddressType) String() string
type CommandReq ¶
type CommandResp ¶
Click to show internal directories.
Click to hide internal directories.