health

package
v0.0.0-...-2ce81c6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	http.Handler
	IsHealthy() bool
}

Checker checks for healthiness of elastic search.

func NewElasticHealthChecker

func NewElasticHealthChecker(elasticAddress string) Checker

NewElasticHealthChecker returns a new HTTP handler that returns a status 200 if elastic search is healthy.

Jump to

Keyboard shortcuts

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