dns

package
v1.9.8 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotResolved = errors.New("not resolved")
)

Functions

This section is empty.

Types

type DNS

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

func NewDNS

func NewDNS(root ton.AccountID, e executor) *DNS

NewDNS If root == nil then use root from network config

func (*DNS) Resolve

func (d *DNS) Resolve(ctx context.Context, domain string) ([]tlb.DNSRecord, error)

Jump to

Keyboard shortcuts

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