dns

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotResolved = fmt.Errorf("not resolved")
)

Functions

This section is empty.

Types

type DNS

type DNS struct {
	Root tongo.AccountID
	// contains filtered or unexported fields
}

func NewDNS

func NewDNS(root *tongo.AccountID, blockchain blockchain) (*DNS, error)

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