Documentation ¶
Index ¶
- func TestStore(t *testing.T, testStore store.TestStore, scope dscope.Scope, wg *pr2.WaitGroup)
- type Def
- type Key
- type New
- type Store
- func (s *Store) Delete(keys []Key) error
- func (s *Store) Exists(key Key) (bool, error)
- func (s *Store) ID() (StoreID, error)
- func (s *Store) IterAllKeys(fn func(Key) error) (err error)
- func (s *Store) IterKeys(ns key.Namespace, fn func(Key) error) error
- func (s *Store) Name() string
- func (s *Store) Read(key Key, fn func(sb.Stream) error) error
- func (s *Store) Write(ns key.Namespace, stream sb.Stream, options ...WriteOption) (WriteResult, error)
- type StoreID
- type WriteOption
- type WriteResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Write ¶
func (s *Store) Write(ns key.Namespace, stream sb.Stream, options ...WriteOption) (WriteResult, error)
type WriteOption ¶
type WriteOption = store.WriteOption
type WriteResult ¶
type WriteResult = store.WriteResult
Click to show internal directories.
Click to hide internal directories.