health

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultHealthPath = "/__health"

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalService added in v1.2.1

type ExternalService interface {
	Endpoint() string
	GTG() error
}

type Service added in v1.1.0

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

func NewService added in v1.1.0

func NewService(appSystemCode string, appName string,
	appDescription string, contentAPI draft.ContentAPI,
	umbrellaAPI suggestions.UmbrellaAPI, hcConfig *config.Config, services []ExternalService, log *logger.UPPLogger) (*Service, error)

func (*Service) GTG added in v1.1.0

func (s *Service) GTG() gtg.Status

func (*Service) Health added in v1.1.0

func (s *Service) Health() fthealth.HC

Jump to

Keyboard shortcuts

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