exthealth

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 2 Imported by: 34

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLivenessProbe

func AddLivenessProbe()

AddLivenessProbe registers a HTTP handler for the liveness probe. The liveness probe reports HTTP 200 as soon as the HTTP server is up and running.

func AddReadinessProbe

func AddReadinessProbe()

AddReadinessProbe registers a HTTP handler for the readiness probe. The readiness probe reports an error (HTTP 503) until the SetReady function is called with true.

func SetReady

func SetReady(ready bool)

SetReady sets the readiness state of the service. If the service is not ready the readiness probe will report an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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