chaindb

package
v0.0.0-...-8551cdf Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertEvent

func InsertEvent(db *pg.DB, logger log.Logger, evt *types.Event) error

func Process

func Process(db *pg.DB, logger log.Logger, msg interface{}) error

func RegOrm

func RegOrm(db *pg.DB) error

Types

type KuTransferInDB

type KuTransferInDB struct {
	ID     int64 // both "Id" and "ID" are detected as primary key
	Route  string
	Type   string
	From   string
	To     string
	Amount int64
	Symbol string
	// contains filtered or unexported fields
}

type MessageInDB

type MessageInDB struct {
	ID int64 // both "Id" and "ID" are detected as primary key

	sdk.Msg // FIXME: use petty show msg
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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