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.
Click to show internal directories.
Click to hide internal directories.