email

package
v0.0.0-...-8dc1d63 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Prefix string
	// contains filtered or unexported fields
}

Config .

func NewConfig

func NewConfig(l tool.ILogger, store tool.IStorage) Config

NewConfig .

func (Config) SendSMTP

func (c Config) SendSMTP(passphrase *validate.Passphrase)

SendSMTP will send an email via SMTP.

func (Config) SetSMTP

func (c Config) SetSMTP(passphrase *validate.Passphrase)

SetSMTP will set the SMTP info.

type File

type File struct {
	SMTP sendmail.SMTP `json:"smtp"`
}

File is the demostack config file.

func (File) Decrypted

func (f File) Decrypted(passphrase *validate.Passphrase) File

Decrypted .

func (File) Encrypted

func (f File) Encrypted(passphrase *validate.Passphrase) File

Encrypted .

Jump to

Keyboard shortcuts

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