test loading secret key
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-27 17:29:02 +11:00
parent ca316e7086
commit 9203e09d2d
5 changed files with 39 additions and 3 deletions

12
models/db_unlock.go Normal file
View File

@@ -0,0 +1,12 @@
package models
type Unlock struct {
SecretsKey string `json:"secrets"`
}
func (u *Unlock) UnlockSecrets() (*Unlock, error) {
// Receive secrets key and store in memory somehow
return u, nil
}