Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeafaultDnsResolver *dnsResolver
View Source
var (
ErrEmptyAddress = errors.New("not found address")
)
Functions ¶
func GetAddrByHost ¶
return address ip by host if host first resolve , add to the dnsResolver, return same with the host host in dnsResolver, but addrs is empty, return ErrEmptyAddress
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.