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.6.2
Published
Aug 24, 2022
Platform
js/wasm
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.