Documentation ¶
Index ¶
- func NewEventSink() indexer.EventSink
- type EventSink
- func (nes *EventSink) GetTxByHash(hash []byte) (*abci.TxResult, error)
- func (nes *EventSink) HasBlock(h int64) (bool, error)
- func (nes *EventSink) IndexBlockEvents(bh types.EventDataNewBlockHeader) error
- func (nes *EventSink) IndexTxEvents(results []*abci.TxResult) error
- func (nes *EventSink) SearchBlockEvents(ctx context.Context, q *query.Query) ([]int64, error)
- func (nes *EventSink) SearchTxEvents(ctx context.Context, q *query.Query) ([]*abci.TxResult, error)
- func (nes *EventSink) Stop() error
- func (nes *EventSink) Type() indexer.EventSinkType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventSink ¶
Types ¶
type EventSink ¶
type EventSink struct{}
EventSink implements a no-op indexer.
func (*EventSink) GetTxByHash ¶
func (*EventSink) IndexBlockEvents ¶
func (nes *EventSink) IndexBlockEvents(bh types.EventDataNewBlockHeader) error
func (*EventSink) IndexTxEvents ¶
func (*EventSink) SearchBlockEvents ¶
func (*EventSink) SearchTxEvents ¶
func (*EventSink) Type ¶
func (nes *EventSink) Type() indexer.EventSinkType
Click to show internal directories.
Click to hide internal directories.