domain

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDomainNotFound = errors.New("domain not found")

Functions

This section is empty.

Types

type Resolver

type Resolver interface {
	Kind() string
	Resolve(ctx context.Context, hostname string) (string, error)
}

type ResolverNull

type ResolverNull struct{}

func (*ResolverNull) Kind

func (h *ResolverNull) Kind() string

func (*ResolverNull) Resolve

func (h *ResolverNull) Resolve(ctx context.Context, hostname string) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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