fun detailedHealthcheck(: List<Pair<String, () -> Boolean>> = listOf(), : () -> Boolean = { true }): (RoutingContext) -> Unit (source)
Return an HTTP handler which calls lambdas and construct the HTTP response
Params
tasks list of lambda and resource's name that indicate the health of a resource
Params
selfCheck lambda that indicate the service health