hostresolver

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ParentHostResolver hostResolverFn = net.LookupHost
)

Functions

func NewFromConfig

func NewFromConfig(conf *pb.HostResolver) (target string, namer naming.Resolver, err error)

NewFromConfig creates HOST resolver wrapped by grpcsrvlb that polls host resolver in frequency defined by returned TTL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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