resolve

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Factories = map[string]func(ctx context.Context) (Resolver, error){}

Factories of Resolver

Functions

This section is empty.

Types

type Resolver

type Resolver interface {
	Resolve(service string) (address string, err error)
	io.Closer
}

func New

func New(mode string, ctx context.Context) (Resolver, error)

New Resolver by params

Jump to

Keyboard shortcuts

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