Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { EtcdClient *clientv3.Client Logger *zap.Logger DataDir string // the directory in which the node key is stored // contains filtered or unexported fields }
func (*Client) GetAllNodeIds ¶
GetAllNodeIds grabs all nodes from etcd and returns all the ids in a slice Important: this slice also contains the node id of this node
Click to show internal directories.
Click to hide internal directories.