Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Closer ¶
type Closer interface {
Close() error
}
Closer is a datastore that can be closed commit changes and cleanup any pending resources.
type MultiDeleter ¶
type MultiDeleter interface { Deleter DeleteAll(keys []string) error DeleteWithPrefix(prefix string) error }
MultiDeleter is a datastore that implements methods that delete multiple keys at once.
type MultiGetter ¶
type MultiGetter interface { Getter GetWithRange(from string, to string) ([]string, [][]byte, error) GetWithPrefix(prefix string) ([]string, [][]byte, error) }
MultiGetter is a datastore that implements methods that get multiple keys at once.
type MultiGetterSetterDeleterCloser ¶
type MultiGetterSetterDeleterCloser interface { MultiGetter TTLSetter MultiDeleter Closer }
MultiGetterSetterDeleterCloser combines MultiGetter, TTLSetter, MultiDeleter, and Closer.
Click to show internal directories.
Click to hide internal directories.