pass

package
v0.0.0-...-3104951 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package pass provides access to UNIX password stores.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	Search(query string) ([]string, error)
	Open(item string) (io.ReadCloser, error)
	GlobSearch(query string) ([]string, error)
}

Store is a password store.

func NewDefaultStore

func NewDefaultStore(stores []StoreDefinition, useFuzzy bool) (Store, error)

type StoreDefinition

type StoreDefinition struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

StoreDefinition defines a password store object

Jump to

Keyboard shortcuts

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