Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectionHandler ¶
type ProjectionHandler struct {
// contains filtered or unexported fields
}
func NewProjectionHandler ¶
func NewProjectionHandler(logger applogger.Logger, projection projection_entity.Projection) *ProjectionHandler
func (*ProjectionHandler) GetLastHandledEventHeight ¶
func (handler *ProjectionHandler) GetLastHandledEventHeight() (*int64, error)
func (*ProjectionHandler) HandleEvents ¶
func (handler *ProjectionHandler) HandleEvents(blockHeight int64, events []event.Event) error
func (*ProjectionHandler) Id ¶
func (handler *ProjectionHandler) Id() string
type RDbEventStoreHandler ¶
type RDbEventStoreHandler struct {
// contains filtered or unexported fields
}
RDbEventStoreHandler is an event handler which persist the event to event store
func NewRDbEventStoreHandler ¶
func (*RDbEventStoreHandler) GetLastHandledEventHeight ¶
func (handler *RDbEventStoreHandler) GetLastHandledEventHeight() (*int64, error)
func (*RDbEventStoreHandler) HandleEvents ¶
func (handler *RDbEventStoreHandler) HandleEvents(blockHeight int64, events []event.Event) error
func (*RDbEventStoreHandler) Id ¶
func (handler *RDbEventStoreHandler) Id() string
Click to show internal directories.
Click to hide internal directories.