go-http-pinger

command module
v0.0.0-...-4a9598e Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 4 Imported by: 0

README

go-http-pinger

This is a simple HTTP pinger written in Go. It sends a GET request to a given URL and prints the response status code every 15 seconds.

Why?

Running this on my Raspberry Pi. The remote server will open an Instatus incident if it does not receive a request for 30 seconds.

Usage

Just buiold & run.

Environment variables

  • URL: The URL to ping.
  • API_TOKEN: Your API token

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