Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DiscoveredNode ¶
func RetrieveNodes ¶
func RetrieveNodes(ctx context.Context, url string, opts ...DnsDiscoveryOption) ([]DiscoveredNode, error)
RetrieveNodes returns a list of multiaddress given a url to a DNS discoverable ENR tree
type DnsDiscoveryOption ¶
type DnsDiscoveryOption func(*dnsDiscoveryParameters)
func WithNameserver ¶
func WithNameserver(nameserver string) DnsDiscoveryOption
WithNameserver is a DnsDiscoveryOption that configures the nameserver to use
Click to show internal directories.
Click to hide internal directories.