Documentation
¶
Overview ¶
Package doctor runs read-only integrity checks against a remindb store and applies opt-in fixes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type CheckReport ¶
type Report ¶
type Report struct {
Checks []CheckReport `json:"checks"`
}
func Heal ¶
Run every check, then apply the registered fix for each failed check whose Check has a non-nil Fix.
func (Report) HasFailures ¶
func (Report) MarshalJSON ¶ added in v0.3.4
Emit the overall worst-wins status header alongside the per-check list.
Click to show internal directories.
Click to hide internal directories.