Documentation ¶ Index ¶ Variables type Client func New() (*Client, error) func (c *Client) Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error) func (c *Client) Put(ctx context.Context, key, val string, opts ...clientv3.OpOption) (*clientv3.PutResponse, error) Constants ¶ This section is empty. Variables ¶ View Source var ProviderSet = wire.NewSet(New) Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { *clientv3.Client } func New ¶ func New() (*Client, error) func (*Client) Get ¶ func (c *Client) Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error) func (*Client) Put ¶ func (c *Client) Put(ctx context.Context, key, val string, opts ...clientv3.OpOption) (*clientv3.PutResponse, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.