Documentation ¶
Index ¶
Constants ¶
View Source
const (
MIGRATION_DIRECOTRY = "projection/bridge_activity/bridge_pending_activity/migrations"
)
Variables ¶
View Source
var ( NewBridgePendingActivitiesView = bridge_pending_activity_view.NewBridgePendingActivitiesView UpdateLastHandledEventHeight = (*BridgePendingActivity).UpdateLastHandledEventHeight )
Functions ¶
This section is empty.
Types ¶
type BridgePendingActivity ¶
type BridgePendingActivity struct { *rdbprojectionbase.Base // contains filtered or unexported fields }
func New ¶ added in v1.3.4
func New( config Config, logger applogger.Logger, rdbConn rdb.Conn, migrationHelper migrationhelper.MigrationHelper, ) *BridgePendingActivity
func (*BridgePendingActivity) Config ¶
func (projection *BridgePendingActivity) Config() *Config
func (*BridgePendingActivity) GetEventsToListen ¶
func (_ *BridgePendingActivity) GetEventsToListen() []string
func (*BridgePendingActivity) HandleEvents ¶
func (projection *BridgePendingActivity) HandleEvents(height int64, events []event_entity.Event) error
func (*BridgePendingActivity) OnInit ¶
func (projection *BridgePendingActivity) OnInit() error
type Config ¶
type Config struct { ThisChainName string `mapstructure:"this_chain_name"` CounterPartyChains []CounterPartyChainConfig `mapstructure:"counterparty_chains"` }
func ConfigFromInterface ¶ added in v1.3.1
type CounterPartyChainConfig ¶ added in v1.3.4
Click to show internal directories.
Click to hide internal directories.