Documentation ¶
Index ¶
- type Store
- func (s *Store) Clear(prefix []byte) error
- func (s *Store) Close() error
- func (s *Store) Delete(k []byte) error
- func (s *Store) Exist(k []byte) bool
- func (s *Store) Filter(prefix []byte) (map[string][]byte, error)
- func (s *Store) FilterKey(prefix []byte) (keys [][]byte, err error)
- func (s *Store) Get(k []byte) ([]byte, error)
- func (s *Store) Set(k, v []byte) error
- type Txn
- func (t *Txn) Clear([]byte) error
- func (t *Txn) Close() error
- func (t *Txn) Commit() error
- func (t *Txn) Delete(k []byte) error
- func (t *Txn) Discard()
- func (t *Txn) Exist(k []byte) bool
- func (t *Txn) Filter(prefix []byte) (map[string][]byte, error)
- func (t *Txn) FilterKey(prefix []byte) (keys [][]byte, err error)
- func (t *Txn) Get(k []byte) ([]byte, error)
- func (t *Txn) PartialCommit() error
- func (t *Txn) Set(k, v []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Txn ¶
type Txn struct {
// contains filtered or unexported fields
}
func (*Txn) PartialCommit ¶
Click to show internal directories.
Click to hide internal directories.