Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoAPIKey = errors.New("no API key configured")
)
Functions ¶
Types ¶
type KeyringBackendInfo ¶
func ResolveKeyringBackendInfo ¶
func ResolveKeyringBackendInfo() (KeyringBackendInfo, error)
type KeyringStore ¶
type KeyringStore struct {
// contains filtered or unexported fields
}
func (*KeyringStore) DeleteAPIKey ¶
func (s *KeyringStore) DeleteAPIKey() error
func (*KeyringStore) GetAPIKey ¶
func (s *KeyringStore) GetAPIKey() (string, error)
func (*KeyringStore) HasAPIKey ¶
func (s *KeyringStore) HasAPIKey() (bool, error)
func (*KeyringStore) SetAPIKey ¶
func (s *KeyringStore) SetAPIKey(key string) error
Click to show internal directories.
Click to hide internal directories.