Documentation
¶
Index ¶
- func GenerateMasterKey() ([]byte, error)
- func LastIndex(data []byte, b byte) int
- func LoadMasterKey(filename string) ([]byte, error)
- func RemoveCredentials(filename string, hostname string, key []byte) error
- func SaveMasterKey(filename string, key []byte) error
- func UpsertCredentials(filename string, hostname string, password string, key []byte) error
- type Credentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMasterKey ¶
func LoadMasterKey ¶
func SaveMasterKey ¶
Types ¶
type Credentials ¶
func LoadCredentials ¶
func LoadCredentials(filename string, key []byte) (Credentials, error)
Click to show internal directories.
Click to hide internal directories.