health

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: BSD-2-Clause Imports: 3 Imported by: 8

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