testhelpers

package
v0.1.2-0...-e497a8c Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartDNSServer

func StartDNSServer(t *testing.T, config DNSConfig) (address string, cancel context.CancelFunc)

Types

type DNSConfig

type DNSConfig struct {
	ResponseDelay time.Duration
	Hostnames     map[string][]string
	Port          int
}

Jump to

Keyboard shortcuts

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