healthz

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package healthz implements basic http server health checking. Usage:

import _ "healthz" registers a handler on the path '/healthz', that serves 200s

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHealthzFunc added in v0.13.0

func AddHealthzFunc(name string, check func(r *http.Request) error)

AddHealthzFunc adds a health check under the url /healhz/{name}

func InstallHandler

func InstallHandler(mux mux)

InstallHandler registers a handler for health checking on the path "/healthz" to mux.

Types

This section is empty.

Jump to

Keyboard shortcuts

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