notify

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package notify sends human-facing notifications via shoutrrr. With no URL configured it is a no-op (events still appear in the logs).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier struct {
	// contains filtered or unexported fields
}

Notifier sends notifications to a shoutrrr URL.

func New

func New(url string, log zerolog.Logger) *Notifier

New returns a Notifier. url may be empty (no-op).

func (*Notifier) Notify

func (n *Notifier) Notify(ctx context.Context, title, body string)

Notify delivers a single message. Failures are logged, never fatal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL