package
0.0.0-20190407150747-8b9b72514244
Repository: https://github.com/ipsn/go-ipfs.git
Documentation: pkg.go.dev

# README

go-libp2p-routing-helpers

standard-readme compliant GoDoc Coverage Status Build Status

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 IPFS Code of Conduct.

Want to hack on IPFS?

License

MIT

# 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.
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.