Documentation ¶
Index ¶
Constants ¶
View Source
const ( Connect cmd = iota + 1 Bind Udp )
View Source
const ( IPv4 atyp = iota + 1 Domain IPv6 )
View Source
const ( Succeeded rep = iota GeneralSocks5ServerFailure ConnectionNotAllowedByRuleset NetworkUnreachable HostUnreachable ConnectionRefused TTLExpired CommandNotSupported AddressTypeNotSupported )
Variables ¶
View Source
var ErrUnsupportedVersion = errors.New("unsupported version")
Functions ¶
func ListenAndServe ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.