Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Vault ¶
type Vault struct {
// settings for filtering entries
FilterFields []string
FilterAnd bool
// contains filtered or unexported fields
}
Vault : vault is the container object for vault-related operations
func (*Vault) Close ¶
func (v *Vault) Close()
Close : close the connection to the underlying database. Always call this in the end.
func (*Vault) GetEntries ¶
GetEntries : return the cardType entries in the Enpass database filtered by filters. Note: Each item in Enpass can have multiple fields (e.g., email accounts have login, incoming server, outgoing server fields). This function deduplicates by UUID, preferring the sensitive field (typically the password).
func (*Vault) Open ¶ added in v1.4.0
func (v *Vault) Open(credentials *VaultCredentials) error
Open : setup a connection to the Enpass database. Call this before doing anything.
type VaultCredentials ¶ added in v1.4.0
func (*VaultCredentials) IsComplete ¶ added in v1.4.0
func (credentials *VaultCredentials) IsComplete() bool
Click to show internal directories.
Click to hide internal directories.