runtraversal

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT, Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTraversal

func RunTraversal(
	loader ipld.Loader,
	traverser ipldutil.Traverser,
	sendResponse ResponseSender) error

RunTraversal wraps a given loader with an interceptor that sends loaded blocks out to the network with the given response sender.

Types

type ResponseSender

type ResponseSender func(
	link ipld.Link,
	data []byte,
) error

ResponseSender sends responses over the network

Jump to

Keyboard shortcuts

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