test loading secret key
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
12
models/db_unlock.go
Normal file
12
models/db_unlock.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user