Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(p *Pinger)
func WithNumSeconds ¶
func WithPingFrequency ¶
func WithPrivileged ¶
type Pinger ¶
type Pinger struct { OnRecv func(ps ProbeStats) // contains filtered or unexported fields }
func (*Pinger) GetProbeStats ¶
func (p *Pinger) GetProbeStats(dst string) ProbeStats
func (*Pinger) StartProbe ¶
func (*Pinger) Stats ¶
func (p *Pinger) Stats() map[string]ProbeStats
type ProbeStats ¶
Click to show internal directories.
Click to hide internal directories.