routing

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2019 License: MIT Imports: 4 Imported by: 55

README

go-libp2p-routing

Discourse posts

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


The last gx published version of this module was: 2.7.13: QmYxUdYY9S6yg5tSPVin5GFTvtfsLauVcr7reHDD3dM8xf

Documentation

Overview

Deprecated: use github.com/libp2p/go-libp2p-core/routing instead.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = core.ErrNotFound

Deprecated: use github.com/libp2p/go-libp2p-core/routing.ErrNotFound instead.

View Source
var ErrNotSupported = core.ErrNotSupported

Deprecated: use github.com/libp2p/go-libp2p-core/routing.ErrNotSupported instead.

Functions

func GetPublicKey deprecated

func GetPublicKey(r core.ValueStore, ctx context.Context, p peer.ID) (ci.PubKey, error)

Deprecated: use github.com/libp2p/go-libp2p-core/routing.GetPublicKey instead.

func KeyForPublicKey deprecated

func KeyForPublicKey(id peer.ID) string

Deprecated: use github.com/libp2p/go-libp2p-core/routing.KeyForPublicKey instead.

Types

type ContentRouting deprecated

type ContentRouting = core.ContentRouting

Deprecated: use github.com/libp2p/go-libp2p-core/routing.ContentRouting instead.

type IpfsRouting deprecated

type IpfsRouting = core.Routing

Deprecated: use github.com/libp2p/go-libp2p-core/routing.Routing instead.

type PeerRouting deprecated

type PeerRouting = core.PeerRouting

Deprecated: use github.com/libp2p/go-libp2p-core/routing.PeerRouting instead.

type PubKeyFetcher deprecated

type PubKeyFetcher = core.PubKeyFetcher

Deprecated: use github.com/libp2p/go-libp2p-core/routing.PubKeyFetcher instead.

type ValueStore deprecated

type ValueStore = core.ValueStore

Deprecated: use github.com/libp2p/go-libp2p-core/routing.ValueStore instead.

Directories

Path Synopsis
Deprecated: use github.com/libp2p/go-libp2p-core/routing instead.
Deprecated: use github.com/libp2p/go-libp2p-core/routing instead.
Deprecated: use github.com/libp2p/go-libp2p-core/routing instead.
Deprecated: use github.com/libp2p/go-libp2p-core/routing instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL