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 ¶
- type MockSearch
- func (m *MockSearch) EXPECT() *MockSearchMockRecorder
- func (m *MockSearch) GetEvolutionBlockByTimestamp(ctx context.Context, targetTimestamp uint64, startingPoint ...uint64) (uint64, error)
- func (m *MockSearch) GetOwnershipBlockByTimestamp(ctx context.Context, targetTimestamp uint64, startingPoint ...uint64) (uint64, error)
- type MockSearchMockRecorder
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.