dns

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheConfig added in v1.1.1

type CacheConfig interface {
	TrustedSource() []string
}

type DnsCache added in v1.1.1

type DnsCache struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewCache added in v1.1.1

func NewCache() *DnsCache

func (*DnsCache) Add added in v1.1.1

func (this *DnsCache) Add(domain string, ip net.IP)

func (*DnsCache) Get added in v1.1.1

func (this *DnsCache) Get(domain string) net.IP

Jump to

Keyboard shortcuts

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