notifier

package
v0.0.0-...-c829783 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	Notify(ctx context.Context, request *NotifyRequest) error
}

func NewEmailNotifier

func NewEmailNotifier() Notifier

type NotifyRequest

type NotifyRequest struct {
	Destination string
	Subject     string
	Body        string
}

Jump to

Keyboard shortcuts

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