model

package
v0.0.0-...-9762c8f Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Address               string              `json:"address" pg:"address,pk"`
	LockedAddress         string              `json:"lockedAddress" pg:"locked_address"`
	CreationTransactionID string              `json:"creationTxId" pg:"creation_tx_id"`
	PublicKeys            []*AccountPublicKey `json:"publicKeys" pg:"rel:has-many"`
	// contains filtered or unexported fields
}

type AccountPublicKey

type AccountPublicKey struct {
	AccountAddress string `json:"-" pg:"account_address"`
	PublicKey      string `json:"publicKey" pg:"public_key,pk"`
	SigAlgo        string `json:"signatureAlgorithm" pg:"sig_algo"`
	HashAlgo       string `json:"hashAlgorithm" pg:"hash_algo"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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