Documentation
¶
Overview ¶
Package notify is keryx's pluggable alert seam (spec 0010 §6): a Notifier interface with config-selected backends (none, webhook, …). `auth refresh` uses it to surface impending-expiry / refresh-failure alerts; a non-zero exit is the always-on baseline regardless of backend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct {
Host string
Port int
Username string
Password string
From string
To []string
// contains filtered or unexported fields
}
Email sends alerts over SMTP. host/port/from/to come from config; the credentials come from the environment (ALERT_SMTP_USERNAME / ALERT_SMTP_PASSWORD), falling back to config for headless setups.
type None ¶
type None struct{}
None drops alerts — the caller still exits non-zero (red pipeline). Default.
Click to show internal directories.
Click to hide internal directories.