mock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEnv

func CreateEnv() (*env.Env, error)

Types

type Record

type Record struct {
	TTL     int
	RType   string
	Address string
}

type ResolveFn

type ResolveFn func(request *dns.Msg) *dns.Msg

type Result

type Result struct {
	RCode int
	RR    []Record
	Err   error
}

Jump to

Keyboard shortcuts

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