Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options(
healthCheckers,
healthCheckerManager,
)
Functions ¶
This section is empty.
Types ¶
type HealthCheckerManager ¶
type HealthCheckerManager struct {
// contains filtered or unexported fields
}
func NewHealthCheckerManager ¶
func NewHealthCheckerManager(healthCheckers []checker.HealthChecker) *HealthCheckerManager
func (HealthCheckerManager) Check ¶
func (h HealthCheckerManager) Check(ctx context.Context) HealthResult
type HealthResult ¶
type HealthResult struct { Status checker.HealthStatus Components []checker.Health }
Click to show internal directories.
Click to hide internal directories.