memoTables

package
v0.0.0-...-fdc5c16 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Types

type AddressListRow

type AddressListRow struct {
	ID      string
	Height  string
	Address string
	Time    string
}

type AddressListRows

type AddressListRows struct {
	simpleSQLDatabase.BasicRows
}

func (*AddressListRows) InsertAddress

func (b *AddressListRows) InsertAddress(height uint64, tm int64, address string)

func (*AddressListRows) Table

type AddressListTable

type AddressListTable struct {
	ID      enum.Element `col:"c_id" ignoreInsert:"true"`
	Height  enum.Element `col:"c_height"`
	Address enum.Element `col:"c_address"`
	Time    enum.Element `col:"c_time"`

	simpleSQLDatabase.BasicTable
}
var AddressList AddressListTable

func (AddressListTable) Name

func (a AddressListTable) Name() (name string)

func (AddressListTable) NewRows

func (a AddressListTable) NewRows() interface{}

type MemoListRow

type MemoListRow struct {
	ID       string
	Height   string
	ReqHash  string
	Recorder string
	Type     string
	Data     string
	Hash     string
	Sig      string
	Size     string
	Time     string
}

type MemoListRows

type MemoListRows struct {
	simpleSQLDatabase.BasicRows
}

func (*MemoListRows) InsertMemo

func (m *MemoListRows) InsertMemo(height uint64, tm int64, tx blockchainRequest.Entity, memo memoSpace.Memo)

func (*MemoListRows) Table

type MemoListTable

type MemoListTable struct {
	ID       enum.Element `col:"c_id" ignoreInsert:"true"`
	Height   enum.Element `col:"c_height"`
	ReqHash  enum.Element `col:"c_req_hash"`
	Recorder enum.Element `col:"c_recorder"`
	Type     enum.Element `col:"c_type"`
	Data     enum.Element `col:"c_data"`
	Hash     enum.Element `col:"c_hash"`
	Sig      enum.Element `col:"c_signature"`
	Size     enum.Element `col:"c_size"`
	Time     enum.Element `col:"c_time"`

	simpleSQLDatabase.BasicTable
}
var MemoList MemoListTable

func (MemoListTable) Name

func (m MemoListTable) Name() (name string)

func (MemoListTable) NewRows

func (m MemoListTable) NewRows() interface{}

Jump to

Keyboard shortcuts

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