factory

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPeerDiscoverer

func NewPeerDiscoverer(
	context context.Context,
	host discovery.ConnectableHost,
	sharder p2p.CommonSharder,
	p2pConfig config.P2PConfig,
) (p2p.PeerDiscoverer, error)

NewPeerDiscoverer generates an implementation of PeerDiscoverer by parsing the p2pConfig struct Errors if config is badly formatted

Types

This section is empty.

Jump to

Keyboard shortcuts

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