mailing

package
v0.0.0-...-8717a1f Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2020 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailingService

type MailingService struct {
	mock.Mock
}

func (MailingService) SendOTPEmail

func (m MailingService) SendOTPEmail(recipient mailing.MailAddress, otpType string, otp string) error

func (MailingService) SendVerificationEmail

func (m MailingService) SendVerificationEmail(recipient mailing.MailAddress, verificationLink string) error

type SimpleMailingService

type SimpleMailingService struct {
	CalledMethods map[string]bool
}

func (SimpleMailingService) SendOTPEmail

func (m SimpleMailingService) SendOTPEmail(recipient mailing.MailAddress, otpType string, otp string) error

func (SimpleMailingService) SendVerificationEmail

func (m SimpleMailingService) SendVerificationEmail(recipient mailing.MailAddress, verificationLink string) error

Jump to

Keyboard shortcuts

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