Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level int
Level controls which events trigger notifications.
func ParseLevel ¶
ParseLevel converts a string to a notification Level. Unknown values default to LevelNone.
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier sends backup failure notifications via shoutrrr.
func New ¶
New creates a Notifier from shoutrrr service URLs. If urls is empty or level is LevelNone, returns a no-op Notifier (notifications disabled). Unknown services in the URLs cause a creation error.
func (*Notifier) SendBackupError ¶
SendBackupError sends a notification about a backup failure. The notifier handles shoutrrr errors internally - they are logged as warnings but never propagated to the caller.
Click to show internal directories.
Click to hide internal directories.