mailer

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ValidatorDelegationMsg = "validator_delegation"
	DelegatorDelegationMsg = "delegator_delegation"
)
View Source
const (
	InTransferMsg   = "in_transfer"
	OutTransferMsg  = "out_transfer"
	VerificationMsg = "verification"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeMailer

type FakeMailer struct {
}

func NewFakeMailer

func NewFakeMailer() *FakeMailer

func (FakeMailer) Send

func (m FakeMailer) Send(email string, msgType string, values map[string]string) error

type Mail

type Mail interface {
	Send(email string, msgType string, values map[string]string) error
}

type Mailer

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

func New

func New(host string, port int, user, password string) *Mailer

func (Mailer) Send

func (m Mailer) Send(email string, msgType string, values map[string]string) error

Jump to

Keyboard shortcuts

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