Documentation ¶ Index ¶ func Ping(ip net.IP, maxRTT time.Duration) (success bool, latency time.Duration) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Ping ¶ func Ping(ip net.IP, maxRTT time.Duration) (success bool, latency time.Duration) Sends a single ICMP echo to an IP and returns success and latency information. Borrowed from BrianBrazil's blackbox exporter nolint: funlen,gocyclop,cyclop,nonamedreturns Types ¶ This section is empty. Source Files ¶ View all Source files ping.go Click to show internal directories. Click to hide internal directories.