pinghttp : A simple HTTP endpoint pinger CLI with a pretty-ish TUI
Overview
pinghttp
is a super basic HTTP endpoint pinger.
Install
The following will install the latest versio in your GOPATH
go get git.sr.ht/~yoink00/pinghttp
Pre-compiled binaries for a number of platforms can be found here
Usage
There currently only two parameters:
-freq
- How often to ping the URL as a Go duration string. The default is "1s" (1 second).
-url
- The URL to ping
The output is a simple table with 2 rows:
- First row -- The duration the endpoint has been up/available since the CLI was started along with the first line of the response.
- Second row -- The duration the endpoint has been down/unavailable since the CLI was started.
Contributing
Code contributions
The pinghttp
project uses the git send-email for collaborating. The tools are usually baked into Git and are used by projects like the Linux kernel, PostgreSQL and Git. This link will guide you through setting it up if you need to.
Please submit any patches in a plaintext email to ~yoink00/pinghttp@lists.sr.ht
or if for some reason that doesn't work to u.yoink00.pinghttp@lists.sr.ht
.
Anything else
Feel free to send any comments, issues or questions in a plaintext email to ~yoink00/pinghttp@lists.sr.ht
or if for some reason that doesn't work to u.yoink00.pinghttp@lists.sr.ht
.
Author
Stuart Wallace
License
MIT