health

package
v4.0.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadinessHandler

func ReadinessHandler() http.HandlerFunc

ReadinessHandler will return a 200OK or 503ServiceUnavailable status dependent on whether the exported Ready or NotReady methods have been called.

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

func Ready

func Ready()

Ready instructs the ReadinessHandler to begin serving 200OK status

func UnReady

func UnReady()

NotReady instructs the ReadinessHandler to begin serving 503ServiceUnavailable status

Types

This section is empty.

Jump to

Keyboard shortcuts

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