Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = errors.New("key not found")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Get the value of key. Get(req *GetRequest) (*GetResponse, error) // Set key to hold given value. Set(rsp *SetRequest) (*SetResponse, error) }
type ConflictError ¶
func (*ConflictError) Error ¶
func (a *ConflictError) Error() string
type GetRequest ¶
type GetRequest struct {
Key string
}
type GetResponse ¶
type SetRequest ¶
type SetResponse ¶
type SetResponse struct{}
Click to show internal directories.
Click to hide internal directories.