email

package
v0.0.0-...-b2d74e5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GROUP_NAME = "global"
View Source
const MODULE_NAME = "email"
View Source
const TYPE_NAME = "notifier"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MailerUser     string
	MailerPassword string
	MailTo         string
}

type GlobalNotifierEmail

type GlobalNotifierEmail struct {
	core.Module
	Config *Config
}

func (*GlobalNotifierEmail) Close

func (e *GlobalNotifierEmail) Close() error

func (*GlobalNotifierEmail) GetConfig

func (e *GlobalNotifierEmail) GetConfig() interface{}

func (*GlobalNotifierEmail) GetGroup

func (e *GlobalNotifierEmail) GetGroup() core.ModuleGroup

func (*GlobalNotifierEmail) GetName

func (e *GlobalNotifierEmail) GetName() string

func (*GlobalNotifierEmail) GetType

func (e *GlobalNotifierEmail) GetType() core.ModuleType

func (*GlobalNotifierEmail) InitModule

func (e *GlobalNotifierEmail) InitModule(_cfg interface{}) error

func (*GlobalNotifierEmail) Run

func (*GlobalNotifierEmail) SendEmail

func (e *GlobalNotifierEmail) SendEmail() error

Jump to

Keyboard shortcuts

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