This commit is contained in:
@@ -29,9 +29,10 @@ type Secret struct {
|
|||||||
type UserSecret struct {
|
type UserSecret struct {
|
||||||
UserId int `db:"UserId" json:"userId"`
|
UserId int `db:"UserId" json:"userId"`
|
||||||
GroupId int `db:"GroupId" json:"groupId"`
|
GroupId int `db:"GroupId" json:"groupId"`
|
||||||
|
Secret
|
||||||
Group
|
Group
|
||||||
Permission
|
Permission
|
||||||
Secret
|
PermissionSafeId int `db:"PermSafeId"`
|
||||||
}
|
}
|
||||||
|
|
||||||
const nonceSize = 12
|
const nonceSize = 12
|
||||||
|
Reference in New Issue
Block a user