Documentation
¶
Overview ¶
Package keychain implements a simple interface to the macOS Keychain. Based on /usr/bin/security.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Returned by Keychain.Get() and Keychain.Delete() if the specified // account doesn't exist. ErrNotFound = errors.New("password not found") )
Specific errors returned by the API.
Functions ¶
This section is empty.
Types ¶
type Keychain ¶
type Keychain struct {
// contains filtered or unexported fields
}
Keychain manages macOS Keychain passwords for a specific service.
func (*Keychain) Delete ¶
Delete a password from user's Keychain. Returns ErrNotFound if account doesn't exist.