Versions in this module Expand all Collapse all v0 v0.2.0 Oct 3, 2026 v0.1.0 Oct 1, 2026 Changes in this version + type Darwin struct + NewPingerFn func(address string) (Pinger, error) + func NewDarwinProvider() *Darwin + func (d *Darwin) Do(address string) (*Result, error) + type Debian struct + NewPingerFn func(address string) (Pinger, error) + func NewDebianProvider() *Debian + func (u *Debian) Do(address string) (*Result, error) + type Linux struct + func NewLinuxProvider() *Linux + func (l *Linux) Do(_ string) (*Result, error) + type Pinger interface + Run func() error + SetCount func(count int) + SetPrivileged func(privileged bool) + Statistics func() *probing.Statistics + type PingerWrapper struct + func (p *PingerWrapper) SetCount(count int) + type Provider interface + Do func(address string) (*Result, error) + type Result struct + AvgRTT time.Duration + Changed bool + MaxRTT time.Duration + MinRTT time.Duration + PacketLoss float64 + PacketsReceived int + PacketsSent int