grpcsrvlb

package
v0.0.0-...-303b979 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MinimumRefreshInterval decides the maximum sleep time between SRV Lookups, otherwise controlled by TTL of records.
	MinimumRefreshInterval = 5 * time.Second
	// MaximumConsecutiveErrors identifies how many iterations of bad SRV Lookups to tolerate in a loop.
	MaximumConsecutiveErrors = 5
)

Functions

func New

func New(srvResolver srv.Resolver) naming.Resolver

New creates a gRPC naming.Resolver that is backed by an SRV lookup resolver.

Types

This section is empty.

Jump to

Keyboard shortcuts

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