Documentation ¶
Index ¶
- type BlockEventRow
- type BlockEventRowData
- type BlockEvents
- func (eventsView *BlockEvents) FindById(id int64) (*BlockEventRow, error)
- func (eventsView *BlockEvents) Insert(blockEvent *BlockEventRow) error
- func (eventsView *BlockEvents) InsertAll(blockEvents []BlockEventRow) error
- func (eventsView *BlockEvents) List(filter BlockEventsListFilter, order BlockEventsListOrder, ...) ([]BlockEventRow, *pagination_interface.Result, error)
- type BlockEventsListFilter
- type BlockEventsListOrder
- type BlockEventsTotal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockEventRow ¶
type BlockEventRowData ¶
type BlockEventRowData struct { Type string `json:"type"` Content interface{} `json:"content"` }
type BlockEvents ¶
type BlockEvents struct {
// contains filtered or unexported fields
}
BlockEvents projection view implemented by relational database
func NewBlockEvents ¶
func NewBlockEvents(handle *rdb.Handle) *BlockEvents
func (*BlockEvents) FindById ¶
func (eventsView *BlockEvents) FindById(id int64) (*BlockEventRow, error)
func (*BlockEvents) Insert ¶
func (eventsView *BlockEvents) Insert(blockEvent *BlockEventRow) error
func (*BlockEvents) InsertAll ¶
func (eventsView *BlockEvents) InsertAll(blockEvents []BlockEventRow) error
func (*BlockEvents) List ¶
func (eventsView *BlockEvents) List( filter BlockEventsListFilter, order BlockEventsListOrder, pagination *pagination_interface.Pagination, ) ([]BlockEventRow, *pagination_interface.Result, error)
type BlockEventsListFilter ¶
type BlockEventsListFilter struct {
MaybeBlockHeight *int64
}
type BlockEventsListOrder ¶
type BlockEventsTotal ¶
func NewBlockEventsTotal ¶
func NewBlockEventsTotal(rdbHandle *rdb.Handle) *BlockEventsTotal
Click to show internal directories.
Click to hide internal directories.