mock

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 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 MockMQ

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

MockMQ is a mock of MQ interface.

func NewMockMQ

func NewMockMQ(ctrl *gomock.Controller) *MockMQ

NewMockMQ creates a new mock instance.

func (*MockMQ) EXPECT

func (m *MockMQ) EXPECT() *MockMQMockRecorder

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

func (*MockMQ) InitSubscriber

func (m *MockMQ) InitSubscriber(arg0 context.Context, arg1, arg2 string, arg3 ...string) error

InitSubscriber mocks base method.

func (*MockMQ) InitTopic

func (m *MockMQ) InitTopic(arg0 context.Context, arg1, arg2 string) error

InitTopic mocks base method.

func (*MockMQ) Publish

func (m *MockMQ) Publish(arg0 int64, arg1, arg2 string, arg3 []byte) error

Publish mocks base method.

func (*MockMQ) Stop

func (m *MockMQ) Stop()

Stop mocks base method.

func (*MockMQ) Subscribe

func (m *MockMQ) Subscribe(arg0, arg1 string, arg2 func(context.Context, []byte) error) error

Subscribe mocks base method.

type MockMQMockRecorder

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

MockMQMockRecorder is the mock recorder for MockMQ.

func (*MockMQMockRecorder) InitSubscriber

func (mr *MockMQMockRecorder) InitSubscriber(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

InitSubscriber indicates an expected call of InitSubscriber.

func (*MockMQMockRecorder) InitTopic

func (mr *MockMQMockRecorder) InitTopic(arg0, arg1, arg2 interface{}) *gomock.Call

InitTopic indicates an expected call of InitTopic.

func (*MockMQMockRecorder) Publish

func (mr *MockMQMockRecorder) Publish(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockMQMockRecorder) Stop

func (mr *MockMQMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

func (*MockMQMockRecorder) Subscribe

func (mr *MockMQMockRecorder) Subscribe(arg0, arg1, arg2 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

Jump to

Keyboard shortcuts

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