mocks

package
v0.0.0-...-677ce44 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEmailClient

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

MockEmailClient is a mock of EmailClient interface

func NewMockEmailClient

func NewMockEmailClient(ctrl *gomock.Controller) *MockEmailClient

NewMockEmailClient creates a new mock instance

func (*MockEmailClient) EXPECT

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

func (*MockEmailClient) Send

func (m *MockEmailClient) Send(ctx context.Context, in *rpc.SendRequest, opts ...grpc.CallOption) (*empty.Empty, error)

Send mocks base method

type MockEmailClientMockRecorder

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

MockEmailClientMockRecorder is the mock recorder for MockEmailClient

func (*MockEmailClientMockRecorder) Send

func (mr *MockEmailClientMockRecorder) Send(ctx, in interface{}, opts ...interface{}) *gomock.Call

Send indicates an expected call of Send

type MockEmailServer

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

MockEmailServer is a mock of EmailServer interface

func NewMockEmailServer

func NewMockEmailServer(ctrl *gomock.Controller) *MockEmailServer

NewMockEmailServer creates a new mock instance

func (*MockEmailServer) EXPECT

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

func (*MockEmailServer) Send

func (m *MockEmailServer) Send(arg0 context.Context, arg1 *rpc.SendRequest) (*empty.Empty, error)

Send mocks base method

type MockEmailServerMockRecorder

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

MockEmailServerMockRecorder is the mock recorder for MockEmailServer

func (*MockEmailServerMockRecorder) Send

func (mr *MockEmailServerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call

Send indicates an expected call of Send

Jump to

Keyboard shortcuts

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