mock

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIdByHash

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

MockIdByHash is a mock of IdByHash interface.

func NewMockIdByHash

func NewMockIdByHash(ctrl *gomock.Controller) *MockIdByHash

NewMockIdByHash creates a new mock instance.

func (*MockIdByHash) EXPECT

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

func (*MockIdByHash) IdByHash

func (m *MockIdByHash) IdByHash(ctx context.Context, hash ...[]byte) ([]uint64, error)

IdByHash mocks base method.

type MockIdByHashIdByHashCall

type MockIdByHashIdByHashCall struct {
	*gomock.Call
}

MockIdByHashIdByHashCall wrap *gomock.Call

func (*MockIdByHashIdByHashCall) Do

Do rewrite *gomock.Call.Do

func (*MockIdByHashIdByHashCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIdByHashIdByHashCall) Return

Return rewrite *gomock.Call.Return

type MockIdByHashMockRecorder

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

MockIdByHashMockRecorder is the mock recorder for MockIdByHash.

func (*MockIdByHashMockRecorder) IdByHash

func (mr *MockIdByHashMockRecorder) IdByHash(ctx any, hash ...any) *MockIdByHashIdByHashCall

IdByHash indicates an expected call of IdByHash.

Jump to

Keyboard shortcuts

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