Documentation
¶
Overview ¶
Package startup provides invariant checks that run before core fully boots. These catch misconfigurations early — missing directories, wrong permissions, version mismatches — so they surface as clear log messages rather than cryptic runtime errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FatalErrors ¶
FatalErrors returns all fatal errors from a RunAll slice.
Types ¶
type Result ¶
type Result struct {
Name string
Warning string // non-fatal — logged and returned
Fatal error // fatal — caller should abort startup
}
Result holds the outcome of a single startup check.
Click to show internal directories.
Click to hide internal directories.