heartbeat

package
v0.0.0-...-d64b81a Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

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

Heartbeat check, has to triggered within a duration in order to pass

func New

func New(maxDuration time.Duration, config gose4.Configuration) *Check

func (*Check) Configuration

func (hc *Check) Configuration() gose4.Configuration

func (*Check) Run

func (hc *Check) Run() gose4.HealthCheckResult

func (*Check) Trigger

func (hc *Check) Trigger()

Jump to

Keyboard shortcuts

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