models

package
v0.0.0-...-77861b7 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Columns

type Columns []string

func (Columns) String

func (c Columns) String() string

type ExecutionRecord

type ExecutionRecord struct {
	ID               common.Hash
	ExecutionContext *msgtypes.ExecutionContext
	ExecutionStatus  types.ExecutionStatus
	Attempts         uint64
	ChainID          uint64
	SrcChainID       uint64
	TX               common.Hash
	SrcTx            common.Hash
	CreateTime       time.Time
	UpdateTime       time.Time
}

func (*ExecutionRecord) Columns

func (r *ExecutionRecord) Columns() Columns

func (*ExecutionRecord) GetLastExecutableStatus

func (e *ExecutionRecord) GetLastExecutableStatus() types.ExecutionStatus

func (*ExecutionRecord) Scan

func (r *ExecutionRecord) Scan(row Scanner) error

func (*ExecutionRecord) String

func (e *ExecutionRecord) String() string

type Record

type Record interface {
	Columns() Columns
	Scan(row Scanner) error
}

type Scanner

type Scanner interface {
	Scan(dest ...interface{}) error
}

Jump to

Keyboard shortcuts

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