resolver

package
Version: v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 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)

Source Files

Jump to

Keyboard shortcuts

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