hosts

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 2 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostMapper

type HostMapper interface {
	Lookup(ctx context.Context, network, host string, opts ...Option) ([]net.IP, bool)
}

HostMapper is a mapping from hostname to IP.

type Option

type Option func(opts *Options)

type Options

type Options struct{}

Jump to

Keyboard shortcuts

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