store

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotExists = errors.New("password file not exists")
)

Functions

This section is empty.

Types

type PasswordStore

type PasswordStore struct {
	// contains filtered or unexported fields
}

func NewPasswordStore added in v0.1.2

func NewPasswordStore(path string) *PasswordStore

func (*PasswordStore) Create

func (s *PasswordStore) Create(masterPassword string) error

func (*PasswordStore) Delete

func (s *PasswordStore) Delete() error

func (*PasswordStore) Exists added in v0.1.2

func (s *PasswordStore) Exists() bool

func (*PasswordStore) Import

func (s *PasswordStore) Import() error

func (*PasswordStore) List

func (s *PasswordStore) List() ([]string, error)

func (*PasswordStore) Open added in v0.1.2

func (s *PasswordStore) Open(masterPassword string) error

func (*PasswordStore) Opened added in v0.1.2

func (s *PasswordStore) Opened() bool

func (*PasswordStore) Save

func (s *PasswordStore) Save(name, password string) error

now it take first password file and append password into it

func (*PasswordStore) ShowPassword added in v0.1.2

func (s *PasswordStore) ShowPassword(name string) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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