Documentation
¶
Overview ¶
Package mock_queue is a generated GoMock package.
Index ¶
- type MockQueue
- func (m *MockQueue) Add(arg0 context.Context, arg1 queue.Message) error
- func (m *MockQueue) Close(arg0 context.Context) error
- func (m *MockQueue) Consume(arg0 context.Context, arg1 func(queue.Message) error) error
- func (m *MockQueue) EXPECT() *MockQueueMockRecorder
- func (m *MockQueue) Init(arg0 *app.App) error
- func (m *MockQueue) Name() string
- func (m *MockQueue) Run(arg0 context.Context) error
- type MockQueueMockRecorder
- func (mr *MockQueueMockRecorder) Add(arg0, arg1 any) *gomock.Call
- func (mr *MockQueueMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockQueueMockRecorder) Consume(arg0, arg1 any) *gomock.Call
- func (mr *MockQueueMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockQueueMockRecorder) Name() *gomock.Call
- func (mr *MockQueueMockRecorder) Run(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockQueue ¶
type MockQueue struct {
// contains filtered or unexported fields
}
MockQueue is a mock of Queue interface.
func NewMockQueue ¶
func NewMockQueue(ctrl *gomock.Controller) *MockQueue
NewMockQueue creates a new mock instance.
func (*MockQueue) EXPECT ¶
func (m *MockQueue) EXPECT() *MockQueueMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockQueueMockRecorder ¶
type MockQueueMockRecorder struct {
// contains filtered or unexported fields
}
MockQueueMockRecorder is the mock recorder for MockQueue.
func (*MockQueueMockRecorder) Add ¶
func (mr *MockQueueMockRecorder) Add(arg0, arg1 any) *gomock.Call
Add indicates an expected call of Add.
func (*MockQueueMockRecorder) Close ¶
func (mr *MockQueueMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockQueueMockRecorder) Consume ¶
func (mr *MockQueueMockRecorder) Consume(arg0, arg1 any) *gomock.Call
Consume indicates an expected call of Consume.
func (*MockQueueMockRecorder) Init ¶
func (mr *MockQueueMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockQueueMockRecorder) Name ¶
func (mr *MockQueueMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
Click to show internal directories.
Click to hide internal directories.