Documentation ¶
Index ¶
- Constants
- func TestKV(t *testing.T, test 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(key 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 ¶
View Source
const ( Kv = iota Idx )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Def ¶
type Def struct{}
func (Def) New ¶
func (Def) New( machine naming.MachineName, newMem storemem.New, setRestrictedPath fsys.SetRestrictedPath, ) New
Click to show internal directories.
Click to hide internal directories.