dnsresolver

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolverLive

func NewResolverLive(filename string) *dnsLive

func NewResolverPreloaded

func NewResolverPreloaded(filename string) (*dnsPreloaded, error)

Types

type DnsResolver

type DnsResolver interface {
	GetTxt(string) ([]string, error) // Given a DNS label, return the TXT values records.
}

DnsResolver looks up txt strings associated with a FQDN.

Jump to

Keyboard shortcuts

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