Versions in this module Expand all Collapse all v0 v0.1.0 May 25, 2019 v0.0.1 Mar 1, 2019 Changes in this version + var ErrNotFound = errors.New("routing: not found") + var ErrNotSupported = errors.New("routing: operation or key not supported") + func GetPublicKey(r ValueStore, ctx context.Context, p peer.ID) (ci.PubKey, error) + func KeyForPublicKey(id peer.ID) string + type ContentRouting interface + FindProvidersAsync func(context.Context, cid.Cid, int) <-chan pstore.PeerInfo + Provide func(context.Context, cid.Cid, bool) error + type IpfsRouting interface + Bootstrap func(context.Context) error + type PeerRouting interface + FindPeer func(context.Context, peer.ID) (pstore.PeerInfo, error) + type PubKeyFetcher interface + GetPublicKey func(context.Context, peer.ID) (ci.PubKey, error) + type ValueStore interface + GetValue func(context.Context, string, ...ropts.Option) ([]byte, error) + PutValue func(context.Context, string, []byte, ...ropts.Option) error + SearchValue func(context.Context, string, ...ropts.Option) (<-chan []byte, error)