modulepackage
2.0.0-alpha.2
Repository: https://github.com/digineo/go-ping.git
Documentation: pkg.go.dev
# README
go-ping
A simple ICMP Echo implementation, based on golang.org/x/net/icmp.
Some sample programs are provided in cmd/
:
ping-test
is a really simple ping clonemultiping
provides an interactive TUI to ping multiple hostsping-monitor
pings multiple hosts in parallel, but just prints the summary every so oftenpingnet
allows to ping every host in a CIDR range (e.g. 0.0.0.0/0 :-))
Features
- IPv4 and IPv6 support
- Unicast and multicast support
- configurable retry amount and timeout duration
- configurable payload size (and content)
- round trip time measurement
Contribute
Simply fork and create a pull-request. We'll try to respond in a timely fashion.
Software using this library
Please create a pull request to get your software listed.
License
MIT License, Copyright (c) 2018 Digineo GmbH
# Functions
New creates a new Pinger.
# Constants
ProtocolICMP is the number of the Internet Control Message Protocol (see golang.org/x/net/internal/iana.ProtocolICMP).
ProtocolICMPv6 is the IPv6 Next Header value for ICMPv6 see golang.org/x/net/internal/iana.ProtocolIPv6ICMP.
# Type aliases
No description provided by the author