Documentation ¶
Index ¶
- func NewStore(dsnString string, opts ...store.Option) (store.KVStore, error)
- type Store
- func (s *Store) BatchGet(ctx context.Context, keys [][]byte) *store.Iterator
- func (s *Store) BatchPrefix(ctx context.Context, prefixes [][]byte, limit int) *store.Iterator
- func (s *Store) Close() error
- func (s *Store) FlushPuts(ctx context.Context) error
- func (s *Store) Get(ctx context.Context, key []byte) (value []byte, err error)
- func (s *Store) Prefix(ctx context.Context, prefix []byte, limit int) *store.Iterator
- func (s *Store) Put(ctx context.Context, key, value []byte) (err error)
- func (s *Store) Scan(ctx context.Context, start, exclusiveEnd []byte, limit int) *store.Iterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.