init

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0, MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdAddress

type IdAddress struct {
	Height    int64  `pg:",pk,notnull,use_zero"`
	ID        string `pg:",pk,notnull"`
	Address   string `pg:",pk,notnull"`
	StateRoot string `pg:",pk,notnull"`
}

func (*IdAddress) AsVersion

func (ia *IdAddress) AsVersion(version model.Version) (interface{}, bool)

func (*IdAddress) Persist

func (ia *IdAddress) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type IdAddressList

type IdAddressList []*IdAddress

func (IdAddressList) Persist

func (ias IdAddressList) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type IdAddressV0

type IdAddressV0 struct {
	ID        string `pg:",pk,notnull"`
	Address   string `pg:",pk,notnull"`
	StateRoot string `pg:",pk,notnull"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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