resolver

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MaxCacheSize = 512 //Must be greater then 16

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSRecord

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

type DNSResolver

type DNSResolver struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewDNSResolver

func NewDNSResolver() *DNSResolver

func (*DNSResolver) LookupHost

func (dr *DNSResolver) LookupHost(ctx context.Context, host string) ([]string, error)

Jump to

Keyboard shortcuts

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