healthz

package
v2.4.27 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeHealthCheck

func ServeHealthCheck(mux *http.ServeMux, f func(r *http.Request) error)

ServeHealthCheck serves the health check endpoint. ServeHealthCheck relies on the provided function to return an error if unhealthy and nil otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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