package
1.5.3
Repository: https://github.com/liangdas/mqant.git
Documentation: pkg.go.dev

# Packages

Package etcdv3 provides an etcd version 3 registry.

# Functions

Addrs is the registry addresses to use.
Deregister a service node.
GetService Retrieve a service.
ListServices List the services.
NewRegistry 新建注册中心.
Register a service node.
RegisterTTL ttl.
Secure communication with the registry.
String String.
Timeout Timeout.
TLSConfig TLS Config.
Watch returns a watcher which allows you to track updates to the registry.
WatchService a service.

# Variables

DefaultRegistry 默认注册中心.
ErrNotFound ErrNotFound.

# Structs

Endpoint 服务节点信息.
Node 服务节点信息.
Options Options.
RegisterOptions RegisterOptions.
Result is returned by a call to Next on the watcher.
Service Service.
Value Value.
WatchOptions WatchOptions.

# Interfaces

Registry The registry provides an interface for service discovery and an abstraction over varying implementations {consul, etcd, zookeeper, ...}.
Watcher is an interface that returns updates about services within the registry.

# Type aliases

Option Option.
RegisterOption RegisterOption.
WatchOption WatchOption.