Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileKeyValueStore ¶
type FileKeyValueStore struct {
// contains filtered or unexported fields
}
FileKeyValueStore ...
func CreateNewFileKeyValueStore ¶
func CreateNewFileKeyValueStore(path string) (*FileKeyValueStore, error)
CreateNewFileKeyValueStore ...
type KeyValueStore ¶
type KeyValueStore interface { /** * Get the value associated with name. * * @param {string} name of the key * @returns {[]byte} */ GetValue(key string) ([]byte, error) /** * Set the value associated with name. * @param {string} name of the key to save * @param {[]byte} value to save */ SetValue(key string, value []byte) error }
KeyValueStore ... *
- Abstract class for a Key-Value store. The Chain class uses this store
- to save sensitive information such as authenticated user's private keys,
- certificates, etc. *
Click to show internal directories.
Click to hide internal directories.