package
0.0.0-20240110154452-01b2730fb713
Repository: https://github.com/truststaking/mx-chain-notifier-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewEventsHandler creates a new events handler component.
NewEventsInterceptor creates a new eventsInterceptor instance.
NewPayloadHandler will create a new instance of events indexer.

# Variables

ErrInvalidPayloadType signals that an invalid payload type has been provided.
ErrInvalidPayloadVersion signals that an invalid payload version has been provided.
ErrInvalidValue signals that an invalid value has been provided.
ErrNilBlockBody signals that a nil block body has been provided.
ErrNilBlockEvents signals that a nil block events struct has been provided.
ErrNilBlockHeader signals that a nil block header has been provided.
ErrNilDataProcessor signals that a nil data processor has been provided.
ErrNilLockService signals that a nil lock service has been provided.
ErrNilPubKeyConverter signals that a nil pubkey converter has been provided.
ErrNilPublisherService signals that a nil publisher service has been provided.
ErrNilTransactionsPool signals that a nil transactions pool has been provided.

# Structs

ArgsEventsHandler defines the arguments needed for an events handler.
ArgsEventsInterceptor defines the arguments needed for creating an events interceptor instance.

# Interfaces

DataProcessor dines what a data indexer should do.
EventsFacadeHandler defines the behavior of a facade handler needed for events group.
EventsHandler defines the behaviour of an events handler component.
EventsInterceptor defines the behaviour of an events interceptor component.
LockService defines the behaviour of a lock service component.
Publisher defines the behaviour of a publisher component which should be able to publish received events and broadcast them to channels.
WSClient defines what a websocket client should do.