diagnosis

package
v0.0.0-...-dca2ff9 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultCatalog = make(Catalog)

DefaultCatalog holds every compiled-in diagnosis

Functions

func Register

func Register(name string, d Diagnosis)

Register a diagnosis that will be called on diagnose

Types

type Catalog

type Catalog map[string]Diagnosis

Catalog holds available diagnosis for detection and usage

type Diagnosis

type Diagnosis func() error

Diagnosis should return an error to report its health

Jump to

Keyboard shortcuts

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