Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserKey ¶
type UserKey struct {
Owner string `gorm:"primaryKey; column:owner; type:varchar(255) not null;index:,composite:ow;"`
ID string `gorm:"primaryKey; column:key_id;type:varchar(255) not null;"`
Label string `gorm:"column:key_label;type:varchar(255);"`
Content string `gorm:"column:key_data;type:varchar(255)"`
Info []byte `gorm:"column:key_info"`
Version int `gorm:"column:version"`
CreationDate int32 `gorm:"column:creation_date"`
}
func (*UserKey) As ¶
func (u *UserKey) As(res *encryption.Key) *encryption.Key
Click to show internal directories.
Click to hide internal directories.