Documentation ¶
Index ¶
- type TxIndexer
- func (_m *TxIndexer) AddBatch(b *txindex.Batch) error
- func (_m *TxIndexer) Get(hash []byte) (*types.TxResult, error)
- func (_m *TxIndexer) Index(result *types.TxResult) error
- func (_m *TxIndexer) Search(ctx context.Context, q *query.Query) ([]*types.TxResult, error)
- func (_m *TxIndexer) SetLogger(l log.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxIndexer ¶
TxIndexer is an autogenerated mock type for the TxIndexer type
func NewTxIndexer ¶
func NewTxIndexer(t mockConstructorTestingTNewTxIndexer) *TxIndexer
NewTxIndexer creates a new instance of TxIndexer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Click to show internal directories.
Click to hide internal directories.