package
0.0.0-20210609064638-781a829e89f6
Repository: https://github.com/viwii/utils.git
Documentation: pkg.go.dev
# Functions
DialClient dials an etcd cluster with given endpoints.
GetRegistry returns a global Registry.
NewDoneChan returns a DoneChan.
# Constants
Delimiter is a separator that separates the etcd path.
# Variables
DialTimeout is the dial timeout.
NewClient is used to create etcd clients.
Placeholder is a placeholder object that can be used globally.
RequestTimeout is the request timeout.
# Structs
A DoneChan is used as a channel that can be closed multiple times and wait for done.
No description provided by the author
No description provided by the author
A Registry is a registry that manages the etcd client connections.
# Interfaces
EtcdClient interface represents an etcd client.
No description provided by the author
Listener interface wraps the OnUpdate method.
No description provided by the author