api

http4k / org.http4k.cloudnative.health / Health

Health

object Health

Represents the set of operational endpoints to ensure that a particular app is working ok. By default provides Readiness and Liveness endpoints, but extra routes can be passed, as can a different renderer implementation for the ReadinessCheck results.

Functions

Name Summary
invoke operator fun invoke(vararg extraRoutes: RoutingHttpHandler, checks: List<ReadinessCheck> = emptyList(), renderer: ReadinessCheckResultRenderer = DefaultReadinessCheckResultRenderer): RoutingHttpHandler