mockmail

package
v0.0.0-...-a7e6680 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackFunc

type CallbackFunc func(T *testing.T, ctx context.Context, to []string, from, subject, message string)

type MockClient

type MockClient struct {
	T            *testing.T
	Context      context.Context
	CallbackFunc CallbackFunc
	Group        *sync.WaitGroup
}

func New

func New(client *MockClient) *MockClient

func (*MockClient) SendMail

func (m *MockClient) SendMail(to []string, from, subject, message string) error

Jump to

Keyboard shortcuts

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