Versions in this module Expand all Collapse all v0 v0.2.0 Jul 4, 2025 v0.1.10 Jul 4, 2025 v0.1.9 Jul 4, 2025 v0.1.8 Jul 4, 2025 v0.1.7 Jul 3, 2025 v0.1.6 Jul 3, 2025 v0.1.5 Jul 3, 2025 v0.1.4 Jul 2, 2025 v0.1.3 Jul 2, 2025 v0.1.2 Jul 2, 2025 v0.1.1 Jun 30, 2025 v0.1.0 Jun 30, 2025 v0.0.9 Jun 30, 2025 Changes in this version + var MacDeviceMap map[string]string + func TryArping(target string) (mac, device string, err error) v0.0.7 Jun 25, 2025 v0.0.6 Jun 24, 2025 Changes in this version + const ProtocolIPv4ICMP + const ProtocolIPv6ICMP + type Ping struct + func New(host string) (*Ping, error) + func (p *Ping) Run() (chan Response, error) + func (p *Ping) RunWithContext(ctx context.Context) (chan Response, error) + func (p *Ping) SetCount(c int) + func (p *Ping) SetForceV4() + func (p *Ping) SetForceV6() + func (p *Ping) SetInterval(i string) error + func (p *Ping) SetPacketSize(s int) + func (p *Ping) SetPrivilegedICMP(i bool) + func (p *Ping) SetSrcIPAddr(addr string) + func (p *Ping) SetTOS(t int) error + func (p *Ping) SetTTL(t int) + func (p *Ping) SetTimeout(i string) error + type Response struct + Addr string + Err error + If string + RTT float64 + Seq int + Size int + TTL int