Documentation ¶ Index ¶ func ICMPDelay(ip string, count uint) (time.Duration, error) func LookupIP(domain string) ([]net.IP, error) func LookupWithServer(domain string, servers []string, maxRetry int) (a []string, cname []string, ns []string, lastErr error) func SingleICMPDelay(ip string) (time.Duration, error) type ICMP Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ICMPDelay ¶ func ICMPDelay(ip string, count uint) (time.Duration, error) ICMPDelay icmp delay func LookupIP ¶ func LookupIP(domain string) ([]net.IP, error) LookupIP ... func LookupWithServer ¶ func LookupWithServer(domain string, servers []string, maxRetry int) (a []string, cname []string, ns []string, lastErr error) LookupWithServer ... func SingleICMPDelay ¶ func SingleICMPDelay(ip string) (time.Duration, error) SingleICMPDelay single icmp delay Types ¶ type ICMP ¶ type ICMP struct { Type uint8 Code uint8 CheckSum uint16 Identifier uint16 SequenceNum uint16 } ICMP ... Source Files ¶ View all Source files dns.go icmp.go Click to show internal directories. Click to hide internal directories.