doctor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT 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 struct {
	Name   string
	Worker Worker
}

type CheckReport

type CheckReport struct {
	CheckName string
	Result    Result
	ErrMsg    string
}

type Examination

type Examination struct {
	Name   string
	Checks []Check
}

func (Examination) Run

func (e Examination) Run() map[string]CheckReport

type Result

type Result int
const (
	OK    Result = 0
	Error Result = 1
)

type Worker

type Worker func() CheckReport

Jump to

Keyboard shortcuts

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