Documentation
¶
Overview ¶
Package keyring provides an interface for secure key-value storage operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = gokeyring.ErrNotFound
ErrNotFound is returned when a key is not found in the keyring.
Functions ¶
This section is empty.
Types ¶
type Keyring ¶
type Keyring interface {
Set(service, key, value string) error
Get(service, key string) (string, error)
Delete(service, key string) error
}
Keyring defines the interface for secure key-value storage operations.
var DefaultKeyring Keyring = &defaultKeyring{}
DefaultKeyring is the production implementation using the system keychain.
Click to show internal directories.
Click to hide internal directories.