Documentation ¶
Index ¶
Constants ¶
View Source
const ( AddrERROR AddrType = 0 AddrV4 = 1 AddrDomain = 3 AddrV6 = 4 )
网络地址类型
Variables ¶
This section is empty.
Functions ¶
func SocksOPType2NetOPType ¶
SocksOPType2NetOPType 将socks5的网络操作类型转换为net中的网络操作类型
Types ¶
type CMDType ¶ added in v0.9.6
type CMDType int
CMDType 命令类型
func NetOPType2SocksOPType ¶
NetOPType2SocksOPType 将net中的网络操作类型转换为socks5的网络操作类型
Click to show internal directories.
Click to hide internal directories.