healthcheck

command
v0.0.0-...-2e3f1f0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Healthcheck is a simple program that sends an HTTP request to the local host (self) to a configured port number. It's used in environment where you need a simple probe for health checks (e.g., an empty container in docker). The probe URL is http://localhost:3000/liveness . Only the port can be changed.

Usage:

healthcheck [flags]

The flags are:

-port <1-65535>
	Change the port where the request is sent.

Return values (exit codes):

0
	The request was successful (HTTP 200 or HTTP 204)

> 0
	The request was not successful (connection error or unexpected HTTP status code)

Jump to

Keyboard shortcuts

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