health

package
v0.0.0-...-ff0bf7e Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 2 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthzHandler

func HealthzHandler(w http.ResponseWriter, r *http.Request)

HealthzHandler responds to health check requests.

func HealthzStatus

func HealthzStatus() int

func HealthzStatusHandler

func HealthzStatusHandler(w http.ResponseWriter, r *http.Request)

func ReadinessHandler

func ReadinessHandler(w http.ResponseWriter, r *http.Request)

ReadinessHandler responds to readiness check requests.

func ReadinessStatus

func ReadinessStatus() int

func ReadinessStatusHandler

func ReadinessStatusHandler(w http.ResponseWriter, r *http.Request)

func SetHealthzStatus

func SetHealthzStatus(status int)

func SetReadinessStatus

func SetReadinessStatus(status int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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