Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { // Open is called when the storage is opened. Open() error // Close is called when the storage is closed. Close() error // Has is called to check if a key exists. Has(key string) (bool, error) // Get is called to get a value. Get(key string) ([]byte, error) // Set is called to set a value. Set(key string, value []byte) error // Delete is called to delete a value. Delete(key string) error }
Storage ...
Click to show internal directories.
Click to hide internal directories.