Documentation ¶ Index ¶ Constants type Client func NewClient(prefix string, logger *zap.Logger, endpoints ...string) *Client func (c *Client) Config() clientv3.Config func (c *Client) Key(parts ...string) *Key type Key func (k *Key) Add(parts ...string) *Key func (k *Key) Copy() *Key func (k *Key) Prefix(val bool) *Key func (k *Key) String() string Constants ¶ View Source const SEP = '/' Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { *clientv3.Client // contains filtered or unexported fields } func NewClient ¶ func NewClient(prefix string, logger *zap.Logger, endpoints ...string) *Client func (*Client) Config ¶ func (c *Client) Config() clientv3.Config func (*Client) Key ¶ func (c *Client) Key(parts ...string) *Key type Key ¶ type Key struct { // contains filtered or unexported fields } func (*Key) Add ¶ func (k *Key) Add(parts ...string) *Key func (*Key) Copy ¶ func (k *Key) Copy() *Key func (*Key) Prefix ¶ func (k *Key) Prefix(val bool) *Key func (*Key) String ¶ func (k *Key) String() string Source Files ¶ View all Source files client.go key.go Click to show internal directories. Click to hide internal directories.