mock

package
v0.0.0-...-2ba808a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMailer

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

MockMailer is a mock of Mailer interface.

func NewMockMailer

func NewMockMailer(ctrl *gomock.Controller) *MockMailer

NewMockMailer creates a new mock instance.

func (*MockMailer) EXPECT

func (m *MockMailer) EXPECT() *MockMailerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMailer) SendWithTemplate

func (m *MockMailer) SendWithTemplate(templateID string, recipients []mailer.Recipient, templateData mailer.EmailData, attachments ...mailer.Attachment) error

SendWithTemplate mocks base method.

type MockMailerMockRecorder

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

MockMailerMockRecorder is the mock recorder for MockMailer.

func (*MockMailerMockRecorder) SendWithTemplate

func (mr *MockMailerMockRecorder) SendWithTemplate(templateID, recipients, templateData interface{}, attachments ...interface{}) *gomock.Call

SendWithTemplate indicates an expected call of SendWithTemplate.

Jump to

Keyboard shortcuts

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