Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DnsResolver ¶
type DnsResolver struct { Servers []string RetryTimes int // contains filtered or unexported fields }
func New ¶
func New(servers []string) *DnsResolver
func (*DnsResolver) LookupHost ¶
func (r *DnsResolver) LookupHost(host string) ([]net.IP, error)
Click to show internal directories.
Click to hide internal directories.