notification

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	Notifier

	AddService(service Service)
}

Manager sends notifications to multiple sources

type Notifier

type Notifier interface {
	SendNotification(ctx context.Context, message string) error
}

Notifier sends notifications.

type Service

type Service interface {
	Notifier

	GetService() models.NotificationService
}

Service sends notifications to a service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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