mirror of
https://github.com/mitchell/selfpass.git
synced 2025-12-16 22:07:22 +00:00
Move service related filed to services folder
This commit is contained in:
parent
347fbe7268
commit
7d770ef150
41 changed files with 50 additions and 50 deletions
13
services/cli/types/types.go
Normal file
13
services/cli/types/types.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package types
|
||||
|
||||
import "github.com/spf13/viper"
|
||||
|
||||
type ConfigRepo interface {
|
||||
OpenConfig() (masterpass string, cfg *viper.Viper, err error)
|
||||
DecryptConfig() (err error)
|
||||
SetMasterpass(masterpass string)
|
||||
WriteConfig() (err error)
|
||||
}
|
||||
|
||||
const KeyPrivateKey = "private_key"
|
||||
const KeyConnConfig = "connection"
|
||||
Loading…
Add table
Add a link
Reference in a new issue