check

package
v0.0.0-...-f4b316e Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: BSD-2-Clause Imports: 1 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 interface {
	Check() CheckResult
	Description() string
}

type CheckResult

type CheckResult interface {
	Success() bool
	Error() error
	Message() string
	Duration() time.Duration
}

func NewCheckResult

func NewCheckResult(chk Check, err error, duration time.Duration) CheckResult

func NewCheckResultFail

func NewCheckResultFail(message string, err error, duration time.Duration) CheckResult

func NewCheckResultSuccess

func NewCheckResultSuccess(message string, duration time.Duration) CheckResult

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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