mock

package
v0.0.0-...-0ff5682 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: internal/core/block/search/search.go

Generated by this command:

mockgen -source=internal/core/block/search/search.go -destination=internal/core/block/search/mock/search.go -package=mock

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 MockSearch

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

MockSearch is a mock of Search interface.

func NewMockSearch

func NewMockSearch(ctrl *gomock.Controller) *MockSearch

NewMockSearch creates a new mock instance.

func (*MockSearch) EXPECT

func (m *MockSearch) EXPECT() *MockSearchMockRecorder

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

func (*MockSearch) GetEvolutionBlockByTimestamp

func (m *MockSearch) GetEvolutionBlockByTimestamp(ctx context.Context, targetTimestamp uint64, startingPoint ...uint64) (uint64, error)

GetEvolutionBlockByTimestamp mocks base method.

func (*MockSearch) GetOwnershipBlockByTimestamp

func (m *MockSearch) GetOwnershipBlockByTimestamp(ctx context.Context, targetTimestamp uint64, startingPoint ...uint64) (uint64, error)

GetOwnershipBlockByTimestamp mocks base method.

type MockSearchMockRecorder

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

MockSearchMockRecorder is the mock recorder for MockSearch.

func (*MockSearchMockRecorder) GetEvolutionBlockByTimestamp

func (mr *MockSearchMockRecorder) GetEvolutionBlockByTimestamp(ctx, targetTimestamp any, startingPoint ...any) *gomock.Call

GetEvolutionBlockByTimestamp indicates an expected call of GetEvolutionBlockByTimestamp.

func (*MockSearchMockRecorder) GetOwnershipBlockByTimestamp

func (mr *MockSearchMockRecorder) GetOwnershipBlockByTimestamp(ctx, targetTimestamp any, startingPoint ...any) *gomock.Call

GetOwnershipBlockByTimestamp indicates an expected call of GetOwnershipBlockByTimestamp.

Jump to

Keyboard shortcuts

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