Documentation ¶ Index ¶ Variables func DefaultPath() string type Store func New(path string) Store func (s Store) Exists() bool func (s Store) Load(password string) (model.Vault, error) func (s Store) Save(vault model.Vault, password string) error Constants ¶ This section is empty. Variables ¶ View Source var ErrInvalidPassword = errors.New("incorrect local vault password") Functions ¶ func DefaultPath ¶ func DefaultPath() string Types ¶ type Store ¶ type Store struct { Path string } func New ¶ func New(path string) Store func (Store) Exists ¶ func (s Store) Exists() bool func (Store) Load ¶ func (s Store) Load(password string) (model.Vault, error) func (Store) Save ¶ func (s Store) Save(vault model.Vault, password string) error Source Files ¶ View all Source files store.go Click to show internal directories. Click to hide internal directories.