Documentation ¶ Index ¶ func Ping(ctx context.Context, address string) error type PingError func (p PingError) Cmd() string func (p PingError) Err() error func (p PingError) Error() string func (p PingError) Output() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Ping ¶ func Ping(ctx context.Context, address string) error Types ¶ type PingError ¶ added in v0.12.17 type PingError struct { // contains filtered or unexported fields } func (PingError) Cmd ¶ added in v0.12.17 func (p PingError) Cmd() string func (PingError) Err ¶ added in v0.12.17 func (p PingError) Err() error func (PingError) Error ¶ added in v0.12.17 func (p PingError) Error() string func (PingError) Output ¶ added in v0.12.17 func (p PingError) Output() string Source Files ¶ View all Source files ping.go Click to show internal directories. Click to hide internal directories.