Categorygithub.com/daotl/go-ipfs-routing
repository
0.1.0
Repository: https://github.com/daotl/go-ipfs-routing.git
Documentation: pkg.go.dev

# Packages

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

# README

go-ipfs-routing

DAOT Labs's fork of ipfs/go-ipfs-routing.

standard-readme compliant Build Status

go-ipfs-routing provides go-libp2p-routing implementations used in go-ipfs.

Table of Contents

Install

go-ipfs-routing works like a set of regular Go packages:

> go get github.com/daotl/go-ipfs-routing/...

This module uses Gx to manage dependencies. You can use make all to build it with the gx dependencies.

Usage

This repo contains 3 different packages.

Mock

GoDoc

import "github.com/daotl/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.

Offline

GoDoc

import "github.com/daotl/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.

None

GoDoc

import "github.com/daotl/go-ipfs-routing/none"

None is a router no-op router that doesn't do anything. Puts always succeed and lookups always fail.

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

Copyright for portions of this fork are held by Protocol Labs, Inc. as part of the original go-ipfs-routing project. All other copyright for this fork are held by DAOT Labs. All rights reserved.