store

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL