healthchecks

package module
v0.0.0-...-f4382a5 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2014 License: MIT Imports: 3 Imported by: 0

README

healthchecks

Build Status

A Go package which exposes health check results as expvars.

For documentation, check godoc.

Documentation

Overview

Package healthchecks provides functionality to add application-level healthchecks which evaluate the health of components at runtime and expose the results as expvars.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, healthcheck Healthcheck)

Add adds the given healthcheck to the set of known healthchecks.

Types

type Healthcheck

type Healthcheck func() error

A Healthcheck checks the functionality of a component of your application and returns and error if anything is wrong.

Jump to

Keyboard shortcuts

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