prober

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPProbe

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

func NewHTTP

func NewHTTP() *HTTPProbe

func (*HTTPProbe) Healthy

func (p *HTTPProbe) Healthy()

func (*HTTPProbe) HealthyHandler

func (p *HTTPProbe) HealthyHandler(logger log.Logger) http.HandlerFunc

func (*HTTPProbe) NotHealthy

func (p *HTTPProbe) NotHealthy(_ error)

func (*HTTPProbe) NotReady

func (p *HTTPProbe) NotReady(_ error)

func (*HTTPProbe) Ready

func (p *HTTPProbe) Ready()

func (*HTTPProbe) ReadyHandler

func (p *HTTPProbe) ReadyHandler(logger log.Logger) http.HandlerFunc

Jump to

Keyboard shortcuts

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