health

package
v1.6.1-dev-concept-typ... Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthService

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

func NewHealthService

func NewHealthService(esHealthService service.EsService) *HealthService

func (*HealthService) GTG

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

func (*HealthService) HealthCheckHandler

func (service *HealthService) HealthCheckHandler() func(http.ResponseWriter, *http.Request)

func (*HealthService) HealthDetails

func (service *HealthService) HealthDetails(writer http.ResponseWriter, req *http.Request)

HealthDetails returns the response from elasticsearch service /__health endpoint - describing the cluster health

Jump to

Keyboard shortcuts

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