dht

package
v0.0.0-...-116794e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: AGPL-3.0 Imports: 17 Imported by: 0

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.

Jump to

Keyboard shortcuts

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