Documentation ¶
Index ¶
- Variables
- func NewPlugin() plugin.Factory
- type Client
- func (c *Client) Del(ctx context.Context, key string, opts ...config.Option) error
- func (c *Client) Get(ctx context.Context, key string, _ ...config.Option) (config.Response, error)
- func (c *Client) Name() string
- func (c *Client) Put(ctx context.Context, key, val string, opts ...config.Option) error
- func (c *Client) Watch(ctx context.Context, key string, opts ...config.Option) (<-chan config.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implemented")
ErrNotImplemented not implemented error
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client etcd client.
func (*Client) Get ¶
Get Obtains the configuration content value according to the key, and implement the config.KV interface.
Click to show internal directories.
Click to hide internal directories.