resolver

package
v0.0.0-...-6993647 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResolverResolveFailuresTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "resolver_resolve_failures_total",
		Help: "Counter of total IP resolver calls which returned errors ",
	})

	ResolverResolvesTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "resolver_resolves_total",
		Help: "Counter of total number of IP resolver calls",
	})
)

Functions

This section is empty.

Types

type Resolver

type Resolver interface {
	Resolve(string) ([]net.IP, error)
}

func NewResolver

func NewResolver() Resolver

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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