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
Click to show internal directories.
Click to hide internal directories.