Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConnectCommand = uint8(1) BindCommand = uint8(2) AssociateCommand = uint8(3) )
View Source
const (
NoAuth = byte(0x00)
)
View Source
const (
SuccessReply uint8 = iota
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Address ¶
func NewAddressFromHostPort ¶
type AddressType ¶
type AddressType byte
const ( IPv4 AddressType = 1 DomainName AddressType = 3 IPv6 AddressType = 4 )
type Socks5 ¶
func (*Socks5) DialSendTrojan ¶
func (*Socks5) HandleHandshake ¶
func (*Socks5) LSTRequest ¶
Click to show internal directories.
Click to hide internal directories.