Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrLocked reports an OS keyring that exists but is locked. Reading or // writing it would wait for an unlock prompt, which never comes without a // desktop session, so enbu asks the person to unlock it instead. ErrLocked = errors.New("OS keyring is locked") // ErrNoKeyring reports a device without a usable OS keyring: no Secret // Service on Linux, or no default collection to keep keys in. ErrNoKeyring = errors.New("no OS keyring") )
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type KeyringBackend ¶
func (*KeyringBackend) Delete ¶
func (k *KeyringBackend) Delete(service, key string) error
Click to show internal directories.
Click to hide internal directories.