notify

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package notify provides notification delivery mechanisms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	NotifyMessage(msg string) error
}

Notifier defines the interface for sending notifications about diffs.

type ShoutrrrNotifier

type ShoutrrrNotifier struct {
	Sender *router.ServiceRouter
}

ShoutrrrNotifier implements Notifier using a shoutrrr ServiceRouter.

func NewShoutrrrNotifier

func NewShoutrrrNotifier(sender *router.ServiceRouter) *ShoutrrrNotifier

NewShoutrrrNotifier creates a new ShoutrrrNotifier.

func (*ShoutrrrNotifier) NotifyMessage added in v0.0.4

func (n *ShoutrrrNotifier) NotifyMessage(msg string) error

NotifyMessage sends a raw notification message.

Jump to

Keyboard shortcuts

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