Documentation ¶
Index ¶
- type Store
- type Txn
- func (t *Txn) Commit() (err error)
- func (t *Txn) Delete(key []byte) (err error)
- func (t *Txn) DeleteTree(prefix []byte) (err error)
- func (t *Txn) Discard()
- func (t *Txn) Get(key []byte) (value []byte, err error)
- func (t *Txn) GetTree(prefix []byte) (entries []storage.Entry, err error)
- func (t *Txn) Set(key, value []byte) (err error)
- func (t *Txn) SetWithTTL(key, value []byte, ttl time.Duration) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store type
Click to show internal directories.
Click to hide internal directories.