Package Usage: go: github.com/prometheus-community/pro-bing
Package probing is a simple but powerful ICMP echo (ping) library.
Here is a very simple example that sends and receives three packets:
Here is an example that emulates the traditional UNIX ping command:
It sends ICMP Echo Request packet(s) and waits for an Echo Reply in response.
If it receives a response, it calls the OnRecv callback. When it's finished,
it calls the OnFinish callback.
For a full ping example, see "cmd/ping/ping.go".
3 versions
Latest release: about 2 years ago
90 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/prometheus-community/pro-bing