registry

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 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

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