Documentation ¶ Index ¶ type KeyVal func (kv KeyVal) Decrypt(passphrase string) KeyVal func (kv KeyVal) Encrypt(passphrase string) KeyVal Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type KeyVal ¶ type KeyVal struct { ID int `json:"-" gorm:"primary_key"` U string `gorm:"size:250;not null" json:"-"` K string `gorm:"size:250;not null" json:"key"` V string `gorm:"not null" sql:"type:text" json:"value"` } func (KeyVal) Decrypt ¶ func (kv KeyVal) Decrypt(passphrase string) KeyVal func (KeyVal) Encrypt ¶ func (kv KeyVal) Encrypt(passphrase string) KeyVal Source Files ¶ View all Source files models.go Click to show internal directories. Click to hide internal directories.