Versions in this module Expand all Collapse all v0 v0.1.0 Aug 12, 2026 Changes in this version + var ErrEmptySecret = errors.New("keychain: empty secret") + var ErrNotFound = errors.New("keychain: item not found") + var ErrUnsupported = errors.New("keychain: unsupported on this platform (darwin only)") + func Delete(service, account string) error + func Get(service, account string) ([]byte, error) + func Set(service, account string, secret []byte, opts ...Option) error + type AccessControlFlags uint + const BiometryAny + const BiometryCurrentSet + const DevicePasscode + const UserPresence + type Error struct + Op string + Status int32 + func (e *Error) Error() string + type Option func(*config) + func WithAccessControl(flags AccessControlFlags) Option