Documentation
¶
Index ¶
- type Error
- type Option
- type ParquetRecord
- type Population
- type SampleResponse
- type Sampler
- type Store
- func (s *Store) Close() error
- func (s *Store) Flush() error
- func (s *Store) Get(multihash multihash.Multihash) ([]indexer.Value, bool, error)
- func (s *Store) Put(value indexer.Value, mhs ...multihash.Multihash) error
- func (s *Store) Remove(value indexer.Value, multihash ...multihash.Multihash) error
- func (s *Store) RemoveProvider(ctx context.Context, id peer.ID) error
- func (s *Store) RemoveProviderContext(id peer.ID, ctx []byte) error
- func (s *Store) Sample(ctx context.Context, population Population) ([]multihash.Multihash, error)
- func (s *Store) Size() (int64, error)
- func (s *Store) Stats() (*indexer.Stats, error)
- type Xedni
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*options) error
func WithDelegateIndexer ¶
func WithStorePath ¶
type ParquetRecord ¶
type Population ¶
type SampleResponse ¶
type SampleResponse struct {
Samples []string `json:"samples"`
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) RemoveProvider ¶
func (*Store) RemoveProviderContext ¶
Click to show internal directories.
Click to hide internal directories.