health

package
v4.4.0-rc.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadinessHandler

func ReadinessHandler() http.Handler

ReadinessHandler will return a 200 OK or 503 "Service Unavailable" status depending on whether the Ready or Unready functions have been called.

The Ready() method must be called to begin returning 200 OK.

func Ready

func Ready()

Ready instructs the ReadinessHandler to begin serving 200 OK status.

func Unready added in v4.1.0

func Unready()

Unready instructs the ReadinessHandler to begin serving 503 Service Unavailable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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