ping

package
v3.0.0-beta10 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(s string, timeout time.Duration) (bool, error)

func PingContext

func PingContext(ctx context.Context, s string) (bool, error)

Types

type T

type T struct {
	Dev      string
	Ctx      context.Context
	Dst      string
	V        int
	Interval int
	Count    int
}

func (*T) Ping

func (t *T) Ping() (bool, error)

Jump to

Keyboard shortcuts

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