pinger

package
Version: v0.0.0-...-2443ee7 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 2 Imported by: 0

README

pinger

Wrapper for go-ping

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pinger

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

Pinger Pinger

func NewPinger

func NewPinger() (*Pinger, error)

NewPinger NewPinger

func (*Pinger) Run

func (p *Pinger) Run() error

Run Run

func (*Pinger) SetAddr

func (p *Pinger) SetAddr(addr string) *Pinger

SetAddr SetAddr

func (*Pinger) SetCount

func (p *Pinger) SetCount(n int) *Pinger

SetCount SetCount

func (*Pinger) SetTimeout

func (p *Pinger) SetTimeout(n int) *Pinger

SetTimeout SetTimeout

func (*Pinger) Statistics

func (p *Pinger) Statistics() *ping.Statistics

Statistics Statistics

Source Files

Jump to

Keyboard shortcuts

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