probe

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 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 func() error

Check is a function that can return an error to signal failure

func CombineChecks

func CombineChecks(checks ...Check) Check

CombineChecks performs a logical AND on a list of Checks

type Listener

type Listener struct {
	Port  int
	Check Check
}

func (*Listener) Listen

func (l *Listener) Listen() error

Listen will accept connections for this Probe

Jump to

Keyboard shortcuts

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