web

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const HealthPath = "/__health"

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthService

type HealthService struct {
	fthealth.TimedHealthCheck
	// contains filtered or unexported fields
}

func NewHealthService

func NewHealthService(appSystemCode string, appName string, appDescription string, checks ...fthealth.Check) *HealthService

func (*HealthService) GTG

func (service *HealthService) GTG() gtg.Status

type RequestHandler

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

func NewRequestHandler

func NewRequestHandler(s *service.AggregateSuggester, log *logger.UPPLogger) *RequestHandler

func (*RequestHandler) HandleSuggestion

func (h *RequestHandler) HandleSuggestion(resp http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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