mock_ack

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ack is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Ack

func (m *MockRepository) Ack(ctx context.Context, ack *core.Ack) (core.Ack, error)

Ack mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) Get

func (m *MockRepository) Get(ctx context.Context, from, to string) (core.Ack, error)

Get mocks base method.

func (*MockRepository) GetAcker

func (m *MockRepository) GetAcker(ctx context.Context, key string) ([]core.Ack, error)

GetAcker mocks base method.

func (*MockRepository) GetAcking

func (m *MockRepository) GetAcking(ctx context.Context, key string) ([]core.Ack, error)

GetAcking mocks base method.

func (*MockRepository) Unack

func (m *MockRepository) Unack(ctx context.Context, ack *core.Ack) (core.Ack, error)

Unack mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Ack

func (mr *MockRepositoryMockRecorder) Ack(ctx, ack any) *gomock.Call

Ack indicates an expected call of Ack.

func (*MockRepositoryMockRecorder) Get

func (mr *MockRepositoryMockRecorder) Get(ctx, from, to any) *gomock.Call

Get indicates an expected call of Get.

func (*MockRepositoryMockRecorder) GetAcker

func (mr *MockRepositoryMockRecorder) GetAcker(ctx, key any) *gomock.Call

GetAcker indicates an expected call of GetAcker.

func (*MockRepositoryMockRecorder) GetAcking

func (mr *MockRepositoryMockRecorder) GetAcking(ctx, key any) *gomock.Call

GetAcking indicates an expected call of GetAcking.

func (*MockRepositoryMockRecorder) Unack

func (mr *MockRepositoryMockRecorder) Unack(ctx, ack any) *gomock.Call

Unack indicates an expected call of Unack.

Jump to

Keyboard shortcuts

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