Documentation ¶
Index ¶
Constants ¶
View Source
const ( IPV4 byte = 1 DOMAIN byte = 3 IPV6 byte = 4 )
Variables ¶
View Source
var Err_NoCertFile = errors.New("no cert or key file")
View Source
var Err_NoUsefulPoint = errors.New("no useful point")
View Source
var Err_NotBinaryMessage = errors.New("not binary message")
View Source
var Err_NotImplement = errors.New("not implement")
Functions ¶
Types ¶
type Addr ¶
type Addr []byte
*
+----+-----+-------+------+----+ | ATYP | DST.ADDR | DST.PORT | +----+-----+-------+------+----+ | 1 | Variable | 2 | +----+-----+-------+------+----+
func DomainToAddr ¶
func (Addr) HostAndPort ¶
type Point ¶
Click to show internal directories.
Click to hide internal directories.