Categorygithub.com/libp2p/go-libp2p-routing-helpers
modulepackage
0.7.4
Repository: https://github.com/libp2p/go-libp2p-routing-helpers.git
Documentation: pkg.go.dev

# README

go-libp2p-routing-helpers

GoDoc Coverage Status Build Status Discourse posts

A collection of helper types for composing different types of routers.

Documenation

See https://godoc.org/github.com/libp2p/go-libp2p-routing-helpers.

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the libp2p Code of Conduct.

Want to hack on libp2p?

License

MIT


The last gx published version of this module was: 0.4.0: QmXwV9RskR8vpoYWu9bvKAeAWaBKyxEsEiM9yy6ezbpNBm

# Packages

tracing provides high level method tracing for the [routing.Routing] API.

# Functions

NewComposableParallel creates a Router that will execute methods from provided Routers in parallel.
No description provided by the author

# Structs

Compose composes the components into a single router.
LimitedValueStore limits the internal value store to the given namespaces.
Null is a router that doesn't do anything.
Parallel operates on the slice of routers in parallel.
No description provided by the author
No description provided by the author
Tiered is like the Parallel except that GetValue and FindPeer are called in series.

# Interfaces

Bootstrap is an interface that should be implemented by any routers wishing to be bootstrapped.
No description provided by the author
No description provided by the author
No description provided by the author