Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockMQ
- func (m *MockMQ) EXPECT() *MockMQMockRecorder
- func (m *MockMQ) InitSubscriber(arg0 context.Context, arg1, arg2 string, arg3 ...string) error
- func (m *MockMQ) InitTopic(arg0 context.Context, arg1, arg2 string) error
- func (m *MockMQ) Publish(arg0 int64, arg1, arg2 string, arg3 []byte) error
- func (m *MockMQ) Stop()
- func (m *MockMQ) Subscribe(arg0, arg1 string, arg2 func(context.Context, []byte) error) error
- type MockMQMockRecorder
- func (mr *MockMQMockRecorder) InitSubscriber(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockMQMockRecorder) InitTopic(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMQMockRecorder) Publish(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMQMockRecorder) Stop() *gomock.Call
- func (mr *MockMQMockRecorder) Subscribe(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
InitSubscriber 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
Click to show internal directories.
Click to hide internal directories.