health

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const HealthPath = "/__health"

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck struct {
	// contains filtered or unexported fields
}

func NewHealthCheck

func NewHealthCheck(appSystemCode string, appName string, appDescription string, whitelistErr error, c kafkaConsumer, p kafkaProducer) *HealthCheck

func (*HealthCheck) Checks

func (h *HealthCheck) Checks() []fthealth.Check

func (*HealthCheck) GTG

func (h *HealthCheck) GTG() gtg.Status

func (*HealthCheck) Health

func (h *HealthCheck) Health() func(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL