view

package
v1.7.41 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockRawEventRow

type BlockRawEventRow struct {
	MaybeId     *int64               `json:"id"`
	BlockHeight int64                `json:"blockHeight"`
	BlockHash   string               `json:"blockHash"`
	BlockTime   utctime.UTCTime      `json:"blockTime"`
	FromResult  string               `json:"fromResult"`
	Data        BlockRawEventRowData `json:"data"`
}

type BlockRawEventRowData

type BlockRawEventRowData struct {
	Type    string                  `json:"type"`
	Content model.BlockResultsEvent `json:"content"`
}

type BlockRawEvents

type BlockRawEvents struct {
	// contains filtered or unexported fields
}

BlockRawEvents projection view implemented by relational database

func NewBlockRawEvents

func NewBlockRawEvents(handle *rdb.Handle) *BlockRawEvents

func (*BlockRawEvents) FindById

func (eventsView *BlockRawEvents) FindById(id int64) (*BlockRawEventRow, error)

func (*BlockRawEvents) Insert

func (eventsView *BlockRawEvents) Insert(blockRawEvent *BlockRawEventRow) error

func (*BlockRawEvents) InsertAll

func (eventsView *BlockRawEvents) InsertAll(blockRawEvents []BlockRawEventRow) error

type BlockRawEventsListFilter

type BlockRawEventsListFilter struct {
	MaybeBlockHeight *int64
}

type BlockRawEventsListOrder

type BlockRawEventsListOrder struct {
	Height view.ORDER
}

type BlockRawEventsTotal

type BlockRawEventsTotal struct {
	*view.Total
}

func NewBlockRawEventsTotal

func NewBlockRawEventsTotal(rdbHandle *rdb.Handle) *BlockRawEventsTotal

Jump to

Keyboard shortcuts

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