health

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: BSD-2-Clause Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealthCheck

func NewHealthCheck() http.Handler

NewHealthCheck creates a new handler to serve health checks.

Types

type Response

type Response struct {
	Healthy bool `json:"healthy"`
}

Response contains the response to the /health API

Jump to

Keyboard shortcuts

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