package
0.4.0
Repository: https://github.com/monetha/mth-core.git
Documentation: pkg.go.dev

# Functions

AddDependency adds a health checked dependency.
GetStatuses returns statuses of service dependencies.
Handler is simple handler for /health endpoint that returns 200 OK status.
Start starts async health check.

# Variables

AsyncLoggingInterval is the interval for async logging of failing dependencies.
MaxFailureInARow is the number for when a dependency is considered broken/down.
Timeout is check timeout.

# Interfaces

HealthChecker checks health.