resolver

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostsResolver

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

func NewHostsResolver

func NewHostsResolver(file string) (*HostsResolver, error)

func (*HostsResolver) Resolve

func (resolver *HostsResolver) Resolve(ctx context.Context, question *proto.DNSQuestion, _ *proto.Connection) (*proto.DNSResponse, error)

Jump to

Keyboard shortcuts

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