package
1.2.2
Repository: https://github.com/osgochina/dmicro.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Deregister 从注册表这中注销节点.
GetService 通过服务名获取服务列表,为什么返回的是一个数组?因为服务是有版本区别的,多个版本的服务是可以共存的.
ListServices 获取所有服务的列表.
No description provided by the author
NewRegistryPlugin 创建服务注册插件.
OptAddrList 设置地址列表.
No description provided by the author
No description provided by the author
OptLeasesInterval 租约续期时间.
No description provided by the author
OptRegisterContext 设置注册服务的上下文.
OptRegisterTTL 设置服务的生存时间.
OptSecure 是否加密.
OptServiceName 设置服务名称.
OptServiceVersion 设置服务版本.
OptTimeout 设置超时时间.
OptTLSConfig 设置tls证书信息.
OptWatchContext 监视器的上下文.
OptWatchService 监视器监听指定的服务.
Register 注册节点到注册表.
No description provided by the author
Watch 监听服务变化.

# Constants

Create 有一个新的服务登记.
No description provided by the author
No description provided by the author
Delete 有一个服务取消登记.
Override 覆盖.
Update 服务的信息更新了.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DeregisterOptions 取消注册参数.
Event 事件.
No description provided by the author
No description provided by the author
Node 节点.
Options 配置.
No description provided by the author
RegisterOptions 注册配置信息.
Result 监视器返回对象.
Service 服务.
WatchOptions 监视器参数.

# Interfaces

Registry 服务注册接口.
Watcher 服务监视器.

# Type aliases

No description provided by the author
EventType 服务事件类型.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author