internal

package
v0.0.0-...-1afb194 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(err error)

func HandleFatal

func HandleFatal(err error)

func Listen

func Listen(port int)

Types

type Cache

type Cache map[string]record

type Filter

type Filter map[string]net.IP

func (Filter) Readconfig

func (f Filter) Readconfig()

type Resolver

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

func (*Resolver) Init

func (r *Resolver) Init()

func (*Resolver) Resolve

func (r *Resolver) Resolve(domain string) net.IP

Jump to

Keyboard shortcuts

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