Versions in this module Expand all Collapse all v0 v0.0.5 Mar 4, 2021 Changes in this version + const DefaultKeyType + const DiscoveryConnectTimeout + const DiscoveryInterval + const DiscoveryServiceTag + const GracePeriod + const HighWater + const LowWater + const QueueName + const ReprovideInterval + func Bootstrap(ctx context.Context, host host.Host, router routing.Routing) error + func DecodeKey(encoded string) (crypto.PrivKey, error) + func Discovery(ctx context.Context, h host.Host) error + func EncodeKey(priv crypto.PrivKey) (string, error) + func GenerateKey() (crypto.PrivKey, error) + func NewHost(ctx context.Context, priv crypto.PrivKey, listenAddr []string) (host.Host, routing.Routing, error) + type Peer struct + Blocks blockstore.Blockstore + DAG ipld.DAGService + Host host.Host + Router routing.Routing + func NewPeer(ctx context.Context, host host.Host, router routing.Routing, ...) (*Peer, error)