check

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

View Source
const (
	StatusSuccess = "✅"
	StatusFailure = "❌"
)

Variables

This section is empty.

Functions

func DefaultCheck

func DefaultCheck(ctx context.Context, l log.Logger, checkers []Checker) error

Types

type Check

type Check func(ctx context.Context, l log.Logger, checkers []Checker) error

type Checker

type Checker func(ctx context.Context, l log.Logger) Info

type Info

type Info struct {
	Name   string
	Note   string
	Status Status
}

type Status

type Status string

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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