Skip to content

Pingo is a simple ping utility written in Go. It allows you to send ICMP echo requests to a specified domain name or ip address and receive echo replies.

License

Notifications You must be signed in to change notification settings

code-brew-lab/pingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pingo

Pingo is a simple ping utility written in Go. It allows you to send ICMP echo requests to a specified domain name or ip address and receive echo replies.

Flags

To see the usage information, use the -h flag:

Usage of pingo:
  -c string
        ip of the dns client (default "1.1.1.1")
  -d string
        name of the domain (default "google.com")
  -i int
        request interval in seconds (default 1)
  -t int
        request timeout in milliseconds (default 1000)

Example Usage

pingo -d google.com
[216.239.38.120 -> 192.168.1.109] [RTT: 26ms, TTL: 116] [Seq: 0, Code: Echo Reply]
[216.239.38.120 -> 192.168.1.109] [RTT: 30ms, TTL: 116] [Seq: 1, Code: Echo Reply]
[216.239.38.120 -> 192.168.1.109] [RTT: 30ms, TTL: 116] [Seq: 2, Code: Echo Reply]
[216.239.38.120 -> 192.168.1.109] [RTT: 28ms, TTL: 116] [Seq: 3, Code: Echo Reply]
...

Installation

You can install the CLI tool using go install:

go install github.com/code-brew-lab/pingo/cmd/pingo@v1.0.0

or you can compile it manually by using the Makefile. See Makefile for more details

make build

Feedback

Your feedback is important to us. If you encounter any issues or have suggestions for improvement, please open an issue on our GitHub repository.

Thank you for using pingo!

About

Pingo is a simple ping utility written in Go. It allows you to send ICMP echo requests to a specified domain name or ip address and receive echo replies.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published