keystore

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotSetPassword = errors.New("Password can not be set")
	ErrPassordLenOver = errors.New("Password len 32 is over")
)

Functions

This section is empty.

Types

type KeyStore

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

func New

func New(name string) *KeyStore

func (*KeyStore) Get

func (key *KeyStore) Get() (string, error)

func (*KeyStore) Set

func (key *KeyStore) Set() (pw string, err error)

Jump to

Keyboard shortcuts

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