ping

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL