dnsdisc

package
v0.0.0-...-e2a46ae Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnsDisc

type DnsDisc struct {
	// contains filtered or unexported fields
}

func NewDnsDiscovery

func NewDnsDiscovery(dnsRoot string) *DnsDisc

func (*DnsDisc) Has

func (d *DnsDisc) Has() bool

func (*DnsDisc) Next

func (d *DnsDisc) Next() *enr.Record

func (*DnsDisc) SetLogger

func (d *DnsDisc) SetLogger(logger *log.Logger)

type Entry

type Entry interface {
	String() string
	// contains filtered or unexported methods
}

type Resolver

type Resolver interface {
	LookupTXT(ctx context.Context, name string) ([]string, error)
}

Jump to

Keyboard shortcuts

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