internal

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheConfig

type CacheConfig struct {
	TrustedTags map[serial.StringLiteral]bool
}

func (*CacheConfig) IsTrustedSource

func (this *CacheConfig) IsTrustedSource(tag serial.StringLiteral) bool

type DnsCache

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

func NewCache

func NewCache(config *CacheConfig) *DnsCache

func (*DnsCache) Add

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

func (*DnsCache) Get

func (this *DnsCache) Get(context app.Context, domain string) net.IP

Jump to

Keyboard shortcuts

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