etcd

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(etcdAddrs, serviceName string) naming.Registry

etcd implement github.com/kenkinsai/denny/naming#Registry with 2 methods: Register and UnRegister

func NewResolver

func NewResolver(etcdAddrs, serviceName string) naming.Registry

NewResolver is alias to New(), and also register resolver automatically so client does not have to call register resolver everytime

Types

This section is empty.

Jump to

Keyboard shortcuts

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