pinghttp

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2021 License: MIT Imports: 12 Imported by: 0

README

pinghttp : A simple HTTP endpoint pinger CLI with a pretty-ish TUI

builds.sr.ht status Coverage

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.

asciicast

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL