email

package
v0.0.0-...-b957f84 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

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

Email represent email notificator

func NewEmail

func NewEmail(configs config.Config) (*Email, error)

NewEmail Email's constructor

func (*Email) IsEnabled

func (e *Email) IsEnabled() bool

IsEnabled will return enable status

func (*Email) Provider

func (*Email) Provider() string

Provider will return Notificator provider

func (*Email) Send

func (e *Email) Send(msg string) error

Send will send notification

Jump to

Keyboard shortcuts

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