vault

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field interface {
	Name() string
	Value() string
	IsPassword() bool
	IsEmail() bool
}

Field interface

type Item

type Item interface {
	Name() string
	FieldSize() int
	Fields() []Field
}

Item interface

type Profile

type Profile interface {
	Name() string
	ItemsSize() int
	Items() []Item
}

Profile interface

type Vault

type Vault interface {
	TryOpenProfile(name string, secret string) bool
	OpenProfile(name string, secret string) (Profile, error)
	Profiles() ([]string, error)
}

Vault interface

func NewOpVault

func NewOpVault(path string) Vault

NewOpVault constructor

Jump to

Keyboard shortcuts

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