Categorygithub.com/dms3-p2p/go-p2p-routing
modulepackage
2.4.9+incompatible
Repository: https://github.com/dms3-p2p/go-p2p-routing.git
Documentation: pkg.go.dev

# README

go-libp2p-routing

standard-readme compliant

A collection of routing interfaces for go-libp2p

Documenation

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

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

# Packages

No description provided by the author
No description provided by the author

# Functions

GetPublicKey retrieves the public key associated with the given peer ID from the value store.
KeyForPublicKey returns the key used to retrieve public keys from a value store.

# Variables

ErrNotFound is returned when a search fails to find anything.
ErrNotSupported is returned when a search or put fails because the key type isn't supported.

# Interfaces

ContentRouting is a value provider layer of indirection.
IpfsRouting is the combination of different routing types that ipfs uses.
PeerRouting is a way to find information about certain peers.
PubKeyFetcher is an interfaces that should be implemented by value stores that can optimize retrieval of public keys.
ValueStore is a basic Put/Get interface.