etcd

package
v0.0.0-...-f59cc51 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuilder

func NewBuilder(client *clientv3.Client) *builder

Types

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func New

func New(client *clientv3.Client) *Registry

New creates etcd registry

func (*Registry) GetService

func (r *Registry) GetService(ctx context.Context, name string) ([]val, error)

func (*Registry) Registry

func (r *Registry) Registry(ctx context.Context, key string, values []string, md map[string]interface{}) error

func (*Registry) Watch

func (r *Registry) Watch(ctx context.Context, name string) (*watcher, error)

Jump to

Keyboard shortcuts

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