notification

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailNotifier

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

func (*EmailNotifier) Send

func (n *EmailNotifier) Send(ctx context.Context, msg Message) error

type Message

type Message struct {
	Channel   string
	Recipient string
	Subject   string
	Body      string
	Metadata  map[string]any
}

type MultiNotifier

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

func (*MultiNotifier) Send

func (n *MultiNotifier) Send(ctx context.Context, msg Message) error

type Notifier

type Notifier interface {
	Send(ctx context.Context, msg Message) error
}

type SlackNotifier

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

func (*SlackNotifier) Send

func (n *SlackNotifier) Send(ctx context.Context, msg Message) error

Jump to

Keyboard shortcuts

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