registry

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscovery

func NewDiscovery(cfg *conf.Registry) registry.Discovery

NewDiscovery 创建一个发现客户端

func NewRegistry

func NewRegistry(cfg *conf.Registry) registry.Registrar

NewRegistry 创建一个注册客户端

Types

type Type added in v0.3.3

type Type string
const (
	Consul      Type = "consul"
	Etcd        Type = "etcd"
	ZooKeeper   Type = "zookeeper"
	Nacos       Type = "nacos"
	Kubernetes  Type = "kubernetes"
	Eureka      Type = "eureka"
	Polaris     Type = "polaris"
	Servicecomb Type = "servicecomb"
)

Directories

Path Synopsis
consul module
etcd module
eureka module
kubernetes module
nacos module
polaris module
servicecomb module
zookeeper module

Jump to

Keyboard shortcuts

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