mail

package
v0.0.0-...-eedabaa Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 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 Mail

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

Mail take obj of Mail

func (*Mail) SendTransactionalMail

func (mg *Mail) SendTransactionalMail(ctx context.Context, subject string, body string, recipient string) error

SendTransactionalMail sends a transaction mail

type MailingService

type MailingService interface {
	SendTransactionalMail(ctx context.Context, subject string, body string, recipient string) error
}

MailingService interface

func NewMailingSvc

func NewMailingSvc() MailingService

NewMailingSvc exposed the ORM to the user functions in the module

Jump to

Keyboard shortcuts

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