mocks

package
v0.35.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSink

type EventSink struct {
	mock.Mock
}

EventSink is an autogenerated mock type for the EventSink type

func (*EventSink) GetTxByHash

func (_m *EventSink) GetTxByHash(_a0 []byte) (*types.TxResult, error)

GetTxByHash provides a mock function with given fields: _a0

func (*EventSink) HasBlock

func (_m *EventSink) HasBlock(_a0 int64) (bool, error)

HasBlock provides a mock function with given fields: _a0

func (*EventSink) IndexBlockEvents

func (_m *EventSink) IndexBlockEvents(_a0 tenderminttypes.EventDataNewBlockHeader) error

IndexBlockEvents provides a mock function with given fields: _a0

func (*EventSink) IndexTxEvents

func (_m *EventSink) IndexTxEvents(_a0 []*types.TxResult) error

IndexTxEvents provides a mock function with given fields: _a0

func (*EventSink) SearchBlockEvents

func (_m *EventSink) SearchBlockEvents(_a0 context.Context, _a1 *query.Query) ([]int64, error)

SearchBlockEvents provides a mock function with given fields: _a0, _a1

func (*EventSink) SearchTxEvents

func (_m *EventSink) SearchTxEvents(_a0 context.Context, _a1 *query.Query) ([]*types.TxResult, error)

SearchTxEvents provides a mock function with given fields: _a0, _a1

func (*EventSink) Stop

func (_m *EventSink) Stop() error

Stop provides a mock function with given fields:

func (*EventSink) Type

func (_m *EventSink) Type() indexer.EventSinkType

Type provides a mock function with given fields:

Jump to

Keyboard shortcuts

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