Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileVaultOptions ¶
type FileVaultOptions struct {
CreateNew bool
}
FileVaultOptions defines options for the FileVault function
type Vault ¶
type Vault struct { FilePath string // contains filtered or unexported fields }
Vault represents a vault where api keys and similar sensitive information can be stored and retrieved. To open a vault, use FileVault
func FileVault ¶
func FileVault(filePath string, options FileVaultOptions) (Vault, error)
FileVault takes in an encoding key(similar to a password) and file path to the vault. If both parameters are correct and valid, a vault is returned.
Click to show internal directories.
Click to hide internal directories.