keyring

package
v0.0.0-...-04b995b Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	GetEntry(key string) (string, error)
	SetEntry(key string, data string) error
}

Handler is an interface to return value from keyring by key.

func NewFileKeyring

func NewFileKeyring(dir, name string) (Handler, error)

NewFileKeyring return fileKeyring with corresponding file.

func NewKeyring

func NewKeyring(name string) Handler

NewKeyring is an constractor for keyringHandler.

Jump to

Keyboard shortcuts

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