health

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: BSD-2-Clause Imports: 3 Imported by: 0

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