health

package
v0.0.0-...-d988ceb Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	Info    sys.Info    `json:"info"`
	Support sys.Support `json:"support"`
}

Report represents the health report.

type UseCase

type UseCase interface {
	// HealthReport returns the health report.
	HealthReport(ctx context.Context) (*Report, error)
}

UseCase is contract that must be implemented by the health check use case.

Jump to

Keyboard shortcuts

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