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
Published
Oct 31, 2019
Platform
js/wasm
Imports
3 packages
Last checked
19 hours ago

Tools for package owners.