registry

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoConfigureEndpoints = errors.New("registry:: no configure endpoints")
	ErrNoEnabledRegistry    = errors.New("registry:: no enabled registry")
)

Functions

func NewDiscovery

func NewDiscovery(client *clientv3.Client, c *protobuf.Registry) registry.Discovery

NewDiscovery ... init etcd Discovery

func NewEtcd

func NewEtcd(c *protobuf.Registry) (*clientv3.Client, func(), error)

func NewRegistrar

func NewRegistrar(client *clientv3.Client, c *protobuf.Registry) registry.Registrar

NewRegistrar ... init ectd Registry

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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