mirror of https://github.com/mitchell/selfpass.git
10 lines
192 B
Go
10 lines
192 B
Go
|
package types
|
||
|
|
||
|
import "github.com/spf13/viper"
|
||
|
|
||
|
type ConfigRepo interface {
|
||
|
OpenConfig() (masterpass string, cfg *viper.Viper, err error)
|
||
|
DecryptConfig()
|
||
|
SetMasterpass(masterpass string)
|
||
|
}
|