Documentation ¶
Index ¶
- Variables
- func TestKV(t *testing.T, testKV storekv.TestKV, newStore New, wg *pr2.WaitGroup)
- type Def
- type New
- type Store
- func (s *Store) CostInfo() storekv.CostInfo
- func (s *Store) KeyDelete(keys ...string) (err error)
- func (s *Store) KeyExists(key string) (ok bool, err error)
- func (s *Store) KeyGet(key string, fn func(io.Reader) error) (err error)
- func (s *Store) KeyIter(prefix string, fn func(string) error) (err error)
- func (s *Store) KeyPut(key string, r io.Reader) (err error)
- func (s *Store) Name() string
- func (s *Store) StoreID() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClosed = store.ErrClosed
)
View Source
var ErrExisted = errors.New("existed")
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.