naming

package
Version: v3.1.1+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCResolver

type GRPCResolver struct {
	// Client is an initialized etcd client.
	Client *etcd.Client
}

GRPCResolver creates a grpc.Watcher for a target to track its resolution changes.

func (*GRPCResolver) Resolve

func (gr *GRPCResolver) Resolve(target string) (naming.Watcher, error)

func (*GRPCResolver) Update

func (gr *GRPCResolver) Update(ctx context.Context, target string, nm naming.Update, opts ...etcd.OpOption) (err error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto