Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTimeout = errors.New("operation failed: client-specified timeout elapsed")
ErrTimeout is an error returned when the client is unable to succesfully complete the operation within the specified timeout.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client of the key-value store.
func (*Client) Get ¶
Get gets the value associated with the provided key and returns it. An error is returned if the client is unable to complete the operation within the provided timeout.
Click to show internal directories.
Click to hide internal directories.