tools

package
v0.0.0-...-3d855e8 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2018 License: BSD-2-Clause Imports: 2 Imported by: 8

Documentation

Index

Constants

View Source
const DEFAULT_TIMEOUT_DURATION = 20 * time.Second

Variables

This section is empty.

Functions

func StartTimeout

func StartTimeout(dur time.Duration) <-chan bool

StartTimeout initiates a goroutine that will write a boolean into the returned channel after the "dur" delay expired.

func Timeout

func Timeout(dur time.Duration, c chan<- bool)

Timeout waits for "dur" delay to expire, and then writes in "c"

Types

type AnalysisConditions

type AnalysisConditions struct {
	All    bool
	DNSSEC bool
	NoV4   bool
	NoV6   bool
}

type Exceptions

type Exceptions struct {
	RFC8020, AcceptServFailAsNoData bool
}

type FormatOptions

type FormatOptions struct {
	ScriptFriendlyOutput bool
	Graph                bool
	DotOutput            bool
}

type LRUConfig

type LRUConfig struct {
	DependencyFinder   int
	ZoneCutFinder      int
	NameResolverFinder int
}

type RequestConfig

type RequestConfig struct {
	AnalysisCond AnalysisConditions
	OutputFormat FormatOptions
	Exceptions   Exceptions
}

func (RequestConfig) Check

func (tc RequestConfig) Check(fileName string) error

type TransdepConfig

type TransdepConfig struct {
	JobCount                              int
	LRUSizes                              LRUConfig
	CacheRootDir, RootHintsFile, MaboFile string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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