Documentation ¶
Index ¶
- Constants
- type Driver
- type EntriesIterator
- type Store
- func (s *Store) Close()
- func (s *Store) Delete(_ context.Context, key []byte) error
- func (s *Store) Get(_ context.Context, key []byte) ([]byte, error)
- func (s *Store) Scan(_ context.Context, start []byte) (kv.EntriesIterator, error)
- func (s *Store) Set(_ context.Context, key, value []byte) error
- func (s *Store) SetIf(_ context.Context, key, value, valuePredicate []byte) error
Constants ¶
View Source
const DriverName = "mem"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntriesIterator ¶
type EntriesIterator struct {
// contains filtered or unexported fields
}
func (*EntriesIterator) Close ¶
func (e *EntriesIterator) Close()
func (*EntriesIterator) Entry ¶
func (e *EntriesIterator) Entry() *kv.Entry
func (*EntriesIterator) Err ¶
func (e *EntriesIterator) Err() error
func (*EntriesIterator) Next ¶
func (e *EntriesIterator) Next() bool
Click to show internal directories.
Click to hide internal directories.