# Functions
CheckHTTPStatus checks if the given HTTP request responds with the expected status code.
New creates a new instance of a health check configuration with default timeout.
NewHandler creates a new instance of the healthcheck handler.
WithConfigureRequest allows to configure the request before it is sent.
WithResultWriter overrides the default healthcheck result writer.
# Constants
StatusOK represents an OK status.
# Structs
Handler is the struct containng the HTTP handler function that performs the healthchecks.
HealthCheck is a structure containing the configuration for a single health check.
# Interfaces
HealthChecker is the interface that wraps the HealthCheck method.
HTTPClient contains the function that performs the actual HTTP request.
# Type aliases
CheckOption is a type alias for a function able to configure HTTP healthcheck options.
HandlerOption is a type alias for a function that configures the healthcheck HTTP handler.
ResultWriter is a type alias for a function in charge of writing the result of the health checks.