package health

import "github.com/cloudflare/cfssl/api/health"

Index

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

Source Files

health.go

Version
v1.4.0-rc1
Published
Oct 30, 2019
Platform
js/wasm
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.