Package Usage: go: github.com/tatsushid/go-fastping
Package fastping is an ICMP ping library inspired by AnyEvent::FastPing Perl
module to send ICMP ECHO REQUEST packets quickly. Original Perl module is
available at
http://search.cpan.org/~mlehmann/AnyEvent-FastPing-2.01/
It hasn't been fully implemented original functions yet.
Here is an example:
It sends an ICMP packet and wait a response. If it receives a response,
it calls "receive" callback. After that, MaxRTT time passed, it calls
"idle" callback. If you need more example, please see "cmd/ping/ping.go".
This library needs to run as a superuser for sending ICMP packets when
privileged raw ICMP endpoints is used so in such a case, to run go test
for the package, please run like a following
1 version
Latest release: over 9 years ago
149 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/tatsushid/go-fastping