Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultResolver aim to resolve ip DefaultResolver Resolver // DisableIPv6 means don't resolve ipv6 host // default value is true DisableIPv6 = true // DefaultHosts aim to resolve hosts DefaultHosts = trie.New() )
Functions ¶
func ResolveIPv4 ¶
ResolveIPv4 with a host, return ipv4
Types ¶
Click to show internal directories.
Click to hide internal directories.