bridge_pending_activity

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

View Source
const (
	MIGRATION_TABLE_NAME = "bridge_pending_activity_schema_migrations"
	MIGRATION_DIRECOTRY  = "projection/bridge_activity/bridge_pending_activity/migrations"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BridgePendingActivity

type BridgePendingActivity struct {
	*rdbprojectionbase.Base
	// contains filtered or unexported fields
}

func NewBridgePendingActivity

func NewBridgePendingActivity(
	logger applogger.Logger,
	rdbConn rdb.Conn,
	config *appprojection.Config,
) *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 {
	ThisChainId           string `mapstructure:"this_chain_id"`
	ThisChainName         string `mapstructure:"this_chain_name"`
	CounterpartyChainName string `mapstructure:"counterparty_chain_name"`
	ChannelId             string `mapstructure:"channel_id"`
	StartingHeight        int64  `mapstructure:"starting_height"`
}

Jump to

Keyboard shortcuts

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