mocks

package
v0.38.0-dev Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockIndexer

type BlockIndexer struct {
	mock.Mock
}

BlockIndexer is an autogenerated mock type for the BlockIndexer type

func NewBlockIndexer

func NewBlockIndexer(t mockConstructorTestingTNewBlockIndexer) *BlockIndexer

NewBlockIndexer creates a new instance of BlockIndexer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BlockIndexer) Has

func (_m *BlockIndexer) Has(height int64) (bool, error)

Has provides a mock function with given fields: height

func (*BlockIndexer) Index

Index provides a mock function with given fields: _a0

func (*BlockIndexer) Search

func (_m *BlockIndexer) Search(ctx context.Context, q *query.Query) ([]int64, error)

Search provides a mock function with given fields: ctx, q

Jump to

Keyboard shortcuts

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