healthcheckers

module
v0.0.0-...-0507893 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: MIT

README

Healthcheckers

Very simple client implementations for a variety of protocols (http, dns, rtsp) meant to be used as basic health-checkers in Docker images providing services exposing protocols.

Implementation is in golang.

All clients consume a HEALTHCHECK_URL variable (typically 1.2.3.4:12345) that should point to the service address to be tested.

The DNS client additionally support HEALTHCHECK_TYPE (tcp or udp) and HEALTHCHECK_QUESTION (a domain name to be resolved).

In case of any error, the clients will exit 1, without any detail.

In case of success, the body of the response may be returned for further processing.

Directories

Path Synopsis
cmd
dns

Jump to

Keyboard shortcuts

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