mock_queue

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_queue is a generated GoMock package.

Index

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) Add

func (m *MockQueue) Add(arg0 context.Context, arg1 queue.Message) error

Add mocks base method.

func (*MockQueue) Close

func (m *MockQueue) Close(arg0 context.Context) error

Close mocks base method.

func (*MockQueue) Consume

func (m *MockQueue) Consume(arg0 context.Context, arg1 func(queue.Message) error) error

Consume mocks base method.

func (*MockQueue) EXPECT

func (m *MockQueue) EXPECT() *MockQueueMockRecorder

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

func (*MockQueue) Init

func (m *MockQueue) Init(arg0 *app.App) error

Init mocks base method.

func (*MockQueue) Name

func (m *MockQueue) Name() string

Name mocks base method.

func (*MockQueue) Run

func (m *MockQueue) Run(arg0 context.Context) error

Run mocks base method.

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.

func (*MockQueueMockRecorder) Run

func (mr *MockQueueMockRecorder) Run(arg0 any) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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