test

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindIndexTest

func FindIndexTest(ctx context.Context, t *testing.T, c client.Finder, ind indexer.Interface, reg *registry.Registry)

func GetProviderTest added in v0.3.0

func GetProviderTest(t *testing.T, c client.Finder, providerID peer.ID)

func InitIndex

func InitIndex(t *testing.T, withCache bool) indexer.Interface

InitIndex initialize a new indexer engine.

func InitRegistry

func InitRegistry(t *testing.T) *registry.Registry

InitRegistry initializes a new registry

func ListProvidersTest added in v0.3.0

func ListProvidersTest(t *testing.T, c client.Finder, providerID peer.ID)

func Register added in v0.3.0

func Register(ctx context.Context, t *testing.T, reg *registry.Registry) peer.ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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