impl

package
v1.0.0-beta-1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT, Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventProcessor

type EventProcessor struct {
	// contains filtered or unexported fields
}

EventProcessor processes new events detected by an event feed.

func New

New returns a new EventProcessor.

func (*EventProcessor) GetLastExecutedBlockNumber

func (ep *EventProcessor) GetLastExecutedBlockNumber() int64

GetLastExecutedBlockNumber returns the last executed block number.

func (*EventProcessor) Start

func (ep *EventProcessor) Start() error

Start starts processing new events from the last processed height.

func (*EventProcessor) Stop

func (ep *EventProcessor) Stop()

Stop stops processing new events.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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