healthcheck

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

App stores informations

func New

func New() *App

New creates new App for given handler

func (*App) Close

func (a *App) Close() *App

Close set all healthchecks to be unavailable

func (*App) Handler

func (a *App) Handler() http.Handler

Handler for Health request. Should be use with net/http

func (*App) NextHealthcheck

func (a *App) NextHealthcheck(next http.Handler) *App

NextHealthcheck define sub healthcheck

Jump to

Keyboard shortcuts

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