Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder interface { // Find queries for provider content records for a single multihash. Find(context.Context, multihash.Multihash) (*model.FindResponse, error) // FindBatch queries for provider content records for a batch of multihashes. FindBatch(context.Context, []multihash.Multihash) (*model.FindResponse, error) // GetProvider gets information about the provider identified by peer.ID. GetProvider(context.Context, peer.ID) (*model.ProviderInfo, error) // ListPrividers gets information about all providers known to the indexer. ListProviders(context.Context) ([]*model.ProviderInfo, error) // GetStats get statistics for indexer. GetStats(context.Context) (*model.Stats, error) }
Finder is the interface implemented by all finder client protocols.
Click to show internal directories.
Click to hide internal directories.