Documentation
¶
Overview ¶
Package alerts persists doctor findings as a small local lifecycle ledger. It stores no secret values and never leaves ~/.multiversa by itself.
Index ¶
Constants ¶
View Source
const Schema = "multiversa.alert-ledger/v1"
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
Types ¶
type Ledger ¶
type Ledger struct {
Schema string `json:"schema"`
UpdatedAt string `json:"updated_at"`
Alerts []Alert `json:"alerts"`
}
func Reconcile ¶
Reconcile refreshes the ledger from current findings. It is idempotent for a fixed timestamp and writes atomically with mode 0600.
func (Ledger) OpenAlerts ¶
Click to show internal directories.
Click to hide internal directories.