Versions in this module Expand all Collapse all v0 v0.2.0 May 15, 2026 Changes in this version + func FormatResults(suite *DiagnosticSuite) string + func SuggestFixes(suite *DiagnosticSuite) []string + type DiagnosticCheck struct + Category string + Name string + RunFn func() DiagnosticResult + type DiagnosticResult struct + Duration time.Duration + Fix string + Message string + Name string + Status string + type DiagnosticSuite struct + Duration time.Duration + Results []DiagnosticResult + StartTime time.Time + type Diagnostics struct + Checks []DiagnosticCheck + func NewDiagnostics() *Diagnostics + func (d *Diagnostics) QuickCheck() bool + func (d *Diagnostics) RunAll() *DiagnosticSuite + func (d *Diagnostics) RunCategory(category string) *DiagnosticSuite v0.1.0 May 12, 2026 Changes in this version + type Check struct + Duration time.Duration + LastChecked time.Time + Message string + Name string + Status Status + type Checker func(ctx context.Context) Check + func APIKeyChecker(provider, key string) Checker + func DiskSpaceChecker(minFreeGB int) Checker + type Registry struct + func NewRegistry() *Registry + func (r *Registry) Register(name string, checker Checker) + func (r *Registry) Result(name string) (Check, bool) + func (r *Registry) Run(ctx context.Context) map[string]Check + func (r *Registry) Status() Status + type Status string + const Degraded + const Healthy + const Unhealthy