hosts

package
v0.0.0-...-f06f3bb Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 2 Imported by: 27

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