You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

gitlab.dms3.io/dms3/go-dms3-routing

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab.dms3.io/dms3/go-dms3-routing


Version published

Readme

Source

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/ipfs/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/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.

Offline

GoDoc

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.

None

GoDoc

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.

Contribute

PRs accepted.

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

License

MIT © Protocol Labs, Inc.

FAQs

Package last updated on 29 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc