Versions in this module Expand all Collapse all v0 v0.2.0 May 8, 2026 v0.1.0 May 8, 2026 Changes in this version + const APIKeyEnv + var ErrAPIKeyNotFound = errors.New("api key not found") + func ConfigDir() (string, error) + func ConfigPath() (string, error) + func DeleteAPIKey(cfg *Config) error + func Save(cfg *Config) error + func SaveAPIKey(cfg *Config, apiKey string) error + type Config struct + AccountID int + BaseURL string + UserID int + func Load() (*Config, error) + func (c *Config) IsValid() bool + type CredentialSource string + const CredentialSourceEnvironment + const CredentialSourceKeyring + const CredentialSourceMissing + func ResolveAPIKey(cfg *Config) (string, CredentialSource, error)