app

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CliName

func CliName() string

func CreateAppDir

func CreateAppDir() (string, error)

func Name

func Name() string

func NewApp

func NewApp(gen *generator.PasswordGenerator, store *store.PasswordStore) *app

func Version

func Version() string

Types

type PasswordMeUsecases

type PasswordMeUsecases interface {
	GeneratePassword(master string, domain *url.URL, prompts []string, opts ...generator.PasswordOpt) string
	CreatePassfile(masterPassword string) error
	DeletePassfile() error
	ImportPassfile() error
	OpenPassfile(masterPassword string) error
	PassfileOpened() bool
	PassfileExists() bool
	ListPasswords() ([]string, error)
	SavePassword(name string, password string) error
	ShowPassword(name string) (string, error)
}

Jump to

Keyboard shortcuts

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