backend

package
v0.0.0-...-afa0028 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	// List lists all keys stored in the backend
	List() ([]string, error)
	// Store adds a new key in the backend
	Store(string, string) error
	// Remove deletes a new key in the backend
	Remove(string) error
	// Read retrieves a key stored in the backend
	Read(string) ([]byte, error)
}

Backend is an interface that describes how a backend shall store secret keys.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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