package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

NewClient returns a wrapped etcd client.
NewClientFromCfg returns a wrapped etcd client.
SetEtcdCliByNamespace is used to add an etcd namespace prefix before etcd path.

# Variables

CreateOp is create operation type.
DeleteOp is delete operation type.
UpdateOp is update operation type.

# Structs

Client is a wrapped etcd client that support some simple method.
Node organizes the ectd query result as a Trie tree.
Operation represents an operation in etcd, include create, update and delete.

# Type aliases

OpType is operation's type in etcd.