Documentation ¶
Index ¶
Constants ¶
View Source
const (
MIGRATION_DIRECOTRY = "projection/blockevent/migrations"
)
TODO: should change it to projection folder name to `block_event`, then we can remove it
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockEvent ¶
type BlockEvent struct { *rdbprojectionbase.Base // contains filtered or unexported fields }
func NewBlockEvent ¶
func NewBlockEvent( logger applogger.Logger, rdbConn rdb.Conn, migrationHelper migrationhelper.MigrationHelper, ) *BlockEvent
func (*BlockEvent) GetEventsToListen ¶
func (_ *BlockEvent) GetEventsToListen() []string
func (*BlockEvent) HandleEvents ¶
func (projection *BlockEvent) HandleEvents(height int64, events []event_entity.Event) error
func (*BlockEvent) OnInit ¶
func (projection *BlockEvent) OnInit() error
Click to show internal directories.
Click to hide internal directories.