dns

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DNSCategoryDNSNextResolver = sha256str("dns_next_resolver")
	DNSCategoryWallet          = sha256str("wallet")
	DNSCategorySite            = sha256str("site")
	DNSCategoryStorage         = sha256str("storage")
	DNSCategoryPicture         = sha256str("picture")
	DNSCategoryLinks           = sha256str("links")
	DNSCategoryDescription     = sha256str("description")
)
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) (map[DNSCategory]tlb.DNSRecord, error)

type DNSCategory added in v1.17.0

type DNSCategory string

Jump to

Keyboard shortcuts

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