healthcheck

package
v0.0.0-...-f9573de Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(healthy func() bool) func(w http.ResponseWriter, req *http.Request)

Handler is a healthcheck HTTP handler

func Register

func Register(r *pat.Router, path string, healthy func() bool)

Register registers a healthcheck route with the router

Types

This section is empty.

Jump to

Keyboard shortcuts

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