runtraversal

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: 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 ld.BlockReadOpener,
	traverser ldutil.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 ld.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