notifier

package
v0.0.0-...-d075b32 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(typ string, target string) notification.Notifier

Types

type Email

type Email struct {
	To string
}

func (*Email) Notify

func (e *Email) Notify(typ notification.NotificationType, subject, body string) error

type SMS

type SMS struct {
	To string
}

func (*SMS) Notify

func (s *SMS) Notify(typ notification.NotificationType, subject, body string) error

Jump to

Keyboard shortcuts

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