dns

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultResolver

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

DefaultResolver implements the Verifier interface with Go's default resolver

func (*DefaultResolver) Verify

type Verifier

type Verifier interface {
	Verify(ctx context.Context, name string, key *[types.VerificationKeySize]byte) error
}

Verifier can verify that a domain name is aware of a public key

func NewDefaultResolver

func NewDefaultResolver() Verifier

Jump to

Keyboard shortcuts

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