Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewETHAccountFromKey ¶
func NewETHAccountFromKey(key *entities.Key, attr *entities.Attributes) *entities.ETHAccount
Types ¶
type ETHAccount ¶
type ETHAccount struct { Address string `pg:",pk"` StoreID string `pg:",pk"` KeyID string PublicKey []byte CompressedPublicKey []byte Tags map[string]string Disabled bool CreatedAt time.Time `pg:"default:now()"` UpdatedAt time.Time `pg:"default:now()"` DeletedAt time.Time `pg:",soft_delete"` // contains filtered or unexported fields }
func NewETHAccount ¶
func NewETHAccount(account *entities.ETHAccount) *ETHAccount
func (*ETHAccount) ToEntity ¶
func (eth *ETHAccount) ToEntity() *entities.ETHAccount
type Key ¶
type Key struct { ID string `pg:",pk"` StoreID string `pg:",pk"` PublicKey []byte SigningAlgorithm string EllipticCurve string Tags map[string]string Annotations *entities.Annotation Disabled bool CreatedAt time.Time `pg:"default:now()"` UpdatedAt time.Time `pg:"default:now()"` DeletedAt time.Time `pg:",soft_delete"` // contains filtered or unexported fields }
type Secret ¶
Click to show internal directories.
Click to hide internal directories.