Documentation ¶
Index ¶
- Variables
- func TestStore(t *testing.T, test storekv.TestKV, newStore New, wg *pr2.WaitGroup)
- func TestStoreSoftDelete(t *testing.T, test storekv.TestKV, newStore New, wg *pr2.WaitGroup)
- type Codec
- type Def
- type New
- type NewOption
- type NewOptions
- type SoftDelete
- 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 ( Break = store.Break PathSeparator = fsys.PathSeparator ErrKeyNotFound = store.ErrKeyNotFound ErrClosed = store.ErrClosed )
Functions ¶
Types ¶
type NewOptions ¶
type NewOptions []NewOption
func (NewOptions) Error ¶
func (e NewOptions) Error() string
type SoftDelete ¶
type SoftDelete bool
func (SoftDelete) IsNewOption ¶
func (SoftDelete) IsNewOption()
Click to show internal directories.
Click to hide internal directories.