emailerService

package
v0.0.0-...-e072101 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(payload models.EmailPayload, emailer IEmailer)

Types

type Email

type Email struct {
	IEmailer IEmailer
	// contains filtered or unexported fields
}
var EmailInit Email

type HtmlEmail

type HtmlEmail struct {
}

func (HtmlEmail) Send

func (e HtmlEmail) Send(payload models.EmailPayload, email Email)

type IEmailer

type IEmailer interface {
	Send(payload models.EmailPayload, email Email)
}

func LoadEmailer

func LoadEmailer(payload models.EmailPayload) IEmailer

Jump to

Keyboard shortcuts

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