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
Click to show internal directories.
Click to hide internal directories.