client

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2022 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder interface {
	// Get record for single multihash from indexer
	Find(context.Context, multihash.Multihash) (*model.FindResponse, error)
	// Get info from a batch of multihashes
	FindBatch(context.Context, []multihash.Multihash) (*model.FindResponse, error)
}

Finder is the interface implemented by all finder client protocols

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL