dnscheck

package
v0.0.0-...-5c7877c Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: EUPL-1.2 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	Server      string
	WantA       string
	Parallel    uint
	Progress    func(done, total uint)
	MaxFailed   int
	LogFailures bool

	Okay        uint
	WrongResult map[string]struct{}
	NoResult    map[string]struct{}
	WrongOpcode map[string]map[string]struct{}
	Failed      map[string]struct{}
}

func New

func New(server, wantA string) *Checker

func (*Checker) Check

func (c *Checker) Check(ctx context.Context, domains []string) error

func (*Checker) CheckRetry

func (c *Checker) CheckRetry(ctx context.Context, domains []string) error

func (*Checker) Dump

func (c *Checker) Dump(w io.Writer) bool

func (*Checker) RetryFailed

func (c *Checker) RetryFailed(ctx context.Context) error

Jump to

Keyboard shortcuts

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