Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeDHT ¶
func MakeDHT(ctx context.Context, h host.Host, networkID algoproto.NetworkID, cfg config.Local, bootstrapFunc func() []peer.AddrInfo) (*dht.IpfsDHT, error)
MakeDHT creates the dht.IpfsDHT object
func MakeDiscovery ¶
func MakeDiscovery(r crouting.ContentRouting) (discovery.Discovery, error)
MakeDiscovery creates a discovery.Discovery object using backoff and cacching
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.