resolver

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNS

type DNS struct{}

DNS resolver returns IPs based on a DNS name

func (*DNS) Resolve

func (dns *DNS) Resolve(name string) ([]string, error)

type IP

type IP struct{}

IP resolver returns the IP specified

func (*IP) Resolve

func (ip *IP) Resolve(name string) ([]string, error)

Jump to

Keyboard shortcuts

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