Documentation ¶
Index ¶
- Variables
- func TestIndex(t *testing.T, test index.TestIndex, newManager New, wg *pr2.WaitGroup)
- func TestStore(t *testing.T, test storekv.TestKV, newStore New, wg *pr2.WaitGroup)
- type Codec
- type Def
- type Index
- type IndexEntry
- type IndexTapEntry
- type Key
- type New
- type Order
- type Store
- func (s *Store) CostInfo() storekv.CostInfo
- func (s *Store) IndexFor(id StoreID) (index.Index, error)
- func (s *Store) KeyDelete(keys ...string) error
- func (s *Store) KeyExists(key string) (bool, error)
- func (s *Store) KeyGet(key string, fn func(r io.Reader) error) (err error)
- func (s *Store) KeyIter(prefix string, fn func(key string) error) error
- func (s *Store) KeyPut(key string, r io.Reader) error
- func (s *Store) Name() string
- func (s *Store) StoreID() string
- type StoreID
- type StoreIndex
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Asc = index.Asc Break = store.Break ErrKeyNotFound = storekv.ErrKeyNotFound ErrClosed = store.ErrClosed )
Functions ¶
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func (Index) Delete ¶
func (i Index) Delete(entry IndexEntry) (err error)
func (Index) Save ¶
func (i Index) Save(entry IndexEntry, options ...index.SaveOption) (err error)
type IndexEntry ¶
type IndexTapEntry ¶
type StoreIndex ¶
type StoreIndex = index.StoreIndex
Click to show internal directories.
Click to hide internal directories.