proxy.golang.org : github.com/barnjamin/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/barnjamin/go-ping
License: MIT
Latest release: about 5 years ago
First release: about 5 years ago
Namespace: github.com/barnjamin
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago