domains

package
v0.0.0-...-3eec7cb Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: repository.go

Generated by this command:

mockgen -source=repository.go -destination=../mock/domains/mock.go -package=domains -typed

Package domains 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) EXPECT

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

func (*MockRepository) Same

func (m *MockRepository) Same(ctx context.Context, network string, c contract.Contract, limit, offset int, availiableNetworks ...string) ([]domains.Same, error)

Same mocks base method.

func (*MockRepository) SameCount

func (m *MockRepository) SameCount(ctx context.Context, c contract.Contract, availiableNetworks ...string) (int, error)

SameCount mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Same

func (mr *MockRepositoryMockRecorder) Same(ctx, network, c, limit, offset any, availiableNetworks ...any) *RepositorySameCall

Same indicates an expected call of Same.

func (*MockRepositoryMockRecorder) SameCount

func (mr *MockRepositoryMockRecorder) SameCount(ctx, c any, availiableNetworks ...any) *RepositorySameCountCall

SameCount indicates an expected call of SameCount.

type RepositorySameCall

type RepositorySameCall struct {
	*gomock.Call
}

RepositorySameCall wrap *gomock.Call

func (*RepositorySameCall) Do

Do rewrite *gomock.Call.Do

func (*RepositorySameCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositorySameCall) Return

func (c_2 *RepositorySameCall) Return(arg0 []domains.Same, arg1 error) *RepositorySameCall

Return rewrite *gomock.Call.Return

type RepositorySameCountCall

type RepositorySameCountCall struct {
	*gomock.Call
}

RepositorySameCountCall wrap *gomock.Call

func (*RepositorySameCountCall) Do

Do rewrite *gomock.Call.Do

func (*RepositorySameCountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*RepositorySameCountCall) Return

func (c_2 *RepositorySameCountCall) Return(arg0 int, arg1 error) *RepositorySameCountCall

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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