keyring

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package keyring provides an interface for secure key-value storage operations.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = gokeyring.ErrNotFound

ErrNotFound is returned when a key is not found in the keyring.

Functions

This section is empty.

Types

type Keyring

type Keyring interface {
	Set(service, key, value string) error
	Get(service, key string) (string, error)
	Delete(service, key string) error
}

Keyring defines the interface for secure key-value storage operations.

var DefaultKeyring Keyring = &defaultKeyring{}

DefaultKeyring is the production implementation using the system keychain.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL