Documentation
¶
Overview ¶
Package keychain stores the Starfleet client secret in the operating system's credential store: macOS Keychain, the Secret Service on Linux, Credential Manager on Windows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound reports that the store holds no entry for the account. ErrNotFound = errors.New("keychain: no entry") ErrUnavailable = errors.New("keychain: unavailable") )
Functions ¶
Types ¶
type Fake ¶
type Fake struct {
Err error
// Sets and Deletes count calls, failed ones included.
Sets, Deletes int
// contains filtered or unexported fields
}
Fake is an in-memory Store for tests. A non-nil Err makes every call fail with it, wrapped as ErrUnavailable.
Click to show internal directories.
Click to hide internal directories.