pinger

package module
v0.0.0-...-d6c6a96 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Timeout = time.Duration(0)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Pinger

type Pinger struct {
	// contains filtered or unexported fields
}

func New

func New(target string, timeout time.Duration) (*Pinger, error)

func (*Pinger) Ping

func (p *Pinger) Ping() (time.Duration, error)

Jump to

Keyboard shortcuts

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