Versions in this module Expand all Collapse all v0 v0.1.1 Oct 16, 2026 v0.1.0 Oct 15, 2026 Changes in this version + var ErrNotFound = errors.New("not in the keyring") + var ErrNotSignedIn = errors.New("not signed in") + type Keyring interface + Delete func(service, user string) error + Get func(service, user string) (string, error) + Set func(service, user, secret string) error + type Saved struct + KeyringErr error + Source Source + type Secret struct + func ParseSecret(s string) (Secret, error) + func (Secret) Format(f fmt.State, _ rune) + func (s Secret) IsZero() bool + func (s Secret) Reveal() string + type Source string + const FromEnv + const FromFile + const FromKeyring + type Store struct + Env string + File string + Keyring Keyring + func (s *Store) Delete(host string) ([]Source, error) + func (s *Store) Load(host string) (Token, error) + func (s *Store) Save(host string, secret Secret) (Saved, error) + type SystemKeyring struct + func (SystemKeyring) Delete(service, user string) error + func (SystemKeyring) Get(service, user string) (string, error) + func (SystemKeyring) Set(service, user, secret string) error + type Token struct + Secret Secret + Source Source