transaction

package
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewTransactions              = transaction_view.NewTransactionsView
	NewTransactionsTotal         = transaction_view.NewTransactionsTotalView
	UpdateLastHandledEventHeight = (*Transaction).UpdateLastHandledEventHeight
)

Functions

This section is empty.

Types

type Transaction

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

func NewTransaction

func NewTransaction(
	logger applogger.Logger,
	rdbConn rdb.Conn,
	migrationHelper migrationhelper.MigrationHelper,
) *Transaction

func (*Transaction) GetEventsToListen

func (_ *Transaction) GetEventsToListen() []string

func (*Transaction) HandleEvents

func (projection *Transaction) HandleEvents(height int64, events []event_entity.Event) error

func (*Transaction) OnInit

func (projection *Transaction) OnInit() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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