Documentation ¶ Index ¶ type Client func NewEnvClient() (*Client, error) func (c *Client) GetValues(ctx context.Context, keys []string) (map[string]string, error) func (c *Client) WatchPrefix(ctx context.Context, prefix string, keys []string, waitIndex uint64, ...) (uint64, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct{} Client provides a shell for the env client func NewEnvClient ¶ func NewEnvClient() (*Client, error) NewEnvClient returns a new client func (*Client) GetValues ¶ func (c *Client) GetValues(ctx context.Context, keys []string) (map[string]string, error) GetValues queries the environment for keys func (*Client) WatchPrefix ¶ func (c *Client) WatchPrefix(ctx context.Context, prefix string, keys []string, waitIndex uint64, stopChan chan bool) (uint64, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.