health

package
v0.0.0-...-b94e044 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 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