admin only route is working

This commit is contained in:
2023-03-29 19:52:46 +11:00
parent 1654ff87ed
commit cc4a890064
7 changed files with 127 additions and 10 deletions

8
models/secret.go Normal file
View File

@@ -0,0 +1,8 @@
package models
type Secret struct {
SecretId int `db:"SecretId"`
RoleId int `db:"RoleId"`
DeviceName string `db:"DeviceName"`
Secret string `db:"Secret"`
}