Documentation
¶
Index ¶
- Constants
- Variables
- type KeyStore
- type Vault
- func (v *Vault) Close() error
- func (v *Vault) Create(keys KeyStore) (*model.Model, error)
- func (v *Vault) Info() *api.VaultInfo
- func (v *Vault) Open(keys KeyStore) (*model.Model, error)
- func (v *Vault) OpenRaw(keys KeyStore) (*model.Model, error)
- func (v *Vault) Status(keys KeyStore) (*api.VaultStatus, error)
- func (v *Vault) With(keys KeyStore, fn func(*model.Model) error) error
- type Wallet
Constants ¶
View Source
const Index = "index"
Variables ¶
View Source
var ErrAlreadyExists = errors.Conflict.With("already exists")
View Source
var ErrNotRegistered = errors.NotFound.With("not a registered vault")
Functions ¶
This section is empty.
Types ¶
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
func (*Vault) Create ¶ added in v0.6.0
Create creates the underlying database and returns an unencrypted model.
Click to show internal directories.
Click to hide internal directories.