//
pkg.gl
Category
github.com/trainking/goboot
pkg
etcdx
package
0.1.6
Repository:
https://github.com/trainking/goboot.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
2
Files
235 SLOC
#
Functions
New
New 新建一个ClientX实例.
NewServiceManager
NewServiceManager 增加服务节点管理器.
#
Constants
DefaultDialTimout
DefaultDialTimout 默认连接超时时间.
#
Variables
DefaultMetaData
DefaultMetaData 默认元数据.
ErrorNotFound
ErrorNotFound 表示该key找不多对应的值,即不存在.
#
Structs
ClientX
ClientX 是封装的Etcd客户端操作.
MetaData
MetaData 元数据结构.
ServiceManager
ServiceManager 服务节点管理器.
#
Type aliases
ChangeHandler
ChangeHandler 发生变化的函数.