notify

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: ISC Imports: 6 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 {
	Notify(diffs map[string]diff.Diff) 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) Notify

func (n *ShoutrrrNotifier) Notify(diffs map[string]diff.Diff) error

Notify sends a notification for the given diffs.

Jump to

Keyboard shortcuts

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