credstore

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCouldNotOpenKeyring error = errors.New("keyring not opened successfully")

Functions

func Clear

func Clear(key string) error

func ClearAll added in v0.1.8

func ClearAll() error

func List added in v0.1.8

func List() ([]keyring.Item, error)

func ListKeys added in v0.1.8

func ListKeys() ([]string, error)

func Retrieve

func Retrieve(key string, target interface{}) error

returns ring.ErrKeyNotFound if not found

func Store

func Store(key string, payload interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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