proxy.golang.org : github.com/go-ping/go-ping
Package ping is an ICMP ping library seeking to emulate the unix "ping" command. Here is a very simple example that sends & receives 3 packets: Here is an example that emulates the unix ping command: It sends ICMP packet(s) and waits for a response. If it receives a response, it calls the "receive" callback. When it's finished, it calls the "finish" callback. For a full ping example, see "cmd/ping/ping.go".
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/go-ping/go-ping
License: MIT
Latest release: 5 months ago
First release: about 4 years ago
Namespace: github.com/go-ping
Last synced: 14 days ago