health

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package health serves health checks over HTTP at /health endpoint.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener added in v0.2.0

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

Listener is an http health check listener

func New added in v0.2.0

func New(log logger, port int) *Listener

New create a new http health check listener

func (*Listener) Start added in v0.2.0

func (h *Listener) Start() *Listener

Start exposes an http healthcheck handler

func (*Listener) Stop added in v0.2.0

func (h *Listener) Stop()

Stop halts the http health check handler

Jump to

Keyboard shortcuts

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