github.com/ipfs/go-ipfs-routing
Readme
go-ipfs-routing provides go-libp2p-routing implementations used in go-ipfs.
👉 We highly recommend switching to the maintained version at https://github.com/ipfs/boxo/tree/main/routing. 🏎️ Good news! There is tooling and documentation to expedite a switch in your repo.
⚠️ If you continue using this repo, please note that security fixes will not be provided (unless someone steps in to maintain it).
📚 Learn more, including how to take the maintainership mantle or ask questions, here.
go-ipfs-routing
works like a set of regular Go packages:
> go get github.com/ipfs/go-ipfs-routing/...
This module uses Gx to manage
dependencies. You can use make all
to build it with the gx
dependencies.
This repo contains 3 different packages.
import "github.com/ipfs/go-ipfs-routing/mock"
Mock is a fake router useful for tests. It provides a mock client that
implements the IpfsRouting
interface and a mock server from which the client
retrieves routing records.
import "github.com/ipfs/go-ipfs-routing/offline"
Offline is an offline router that can put and get records to and from a local
Datastore
but can't retrieve them from the network.
import "github.com/ipfs/go-ipfs-routing/none"
None is a router no-op router that doesn't do anything. Puts always succeed and lookups always fail.
MIT © Protocol Labs, Inc.
FAQs
Unknown package
We found that github.com/ipfs/go-ipfs-routing demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.