ping

package
v0.0.0-...-ff2b7a2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Provides IPv4 ICMP echo round trip time measurements (“ping”).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(addr string, timeout time.Duration, result chan *time.Duration)

func PingContext

func PingContext(ctx context.Context, addr string) (time.Duration, error)

func PingUnprivileged

func PingUnprivileged(ctx context.Context, host string) (time.Duration, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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