Documentation ¶ Index ¶ func GetInterfaceNameByIp(interfaceIp net.IP) (string, bool, error) func HasIPv6PingCommand() bool func PickIP(port string, ips ...net.IP) net.IP func Ping(ctx context.Context, address string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetInterfaceNameByIp ¶ func GetInterfaceNameByIp(interfaceIp net.IP) (string, bool, error) func HasIPv6PingCommand ¶ func HasIPv6PingCommand() bool func PickIP ¶ func PickIP(port string, ips ...net.IP) net.IP func Ping ¶ func Ping(ctx context.Context, address string) error Types ¶ This section is empty. Source Files ¶ View all Source files pickIP.goping.goread.go Click to show internal directories. Click to hide internal directories.