Documentation ¶
Index ¶
- func NewStore(dsnString string) (store.KVStore, error)
- type Store
- func (s *Store) BatchDelete(ctx context.Context, keys [][]byte) (err error)
- func (s *Store) BatchGet(ctx context.Context, keys [][]byte) *store.Iterator
- func (s *Store) BatchPrefix(ctx context.Context, prefixes [][]byte, limitPerPrefix int, ...) *store.Iterator
- func (s *Store) Close() error
- func (s *Store) EnableEmpty()
- 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, options ...store.ReadOption) *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
- func (s *Store) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) BatchDelete ¶
func (*Store) BatchPrefix ¶
func (*Store) EnableEmpty ¶
func (s *Store) EnableEmpty()
Click to show internal directories.
Click to hide internal directories.