Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) Delete(key string) error
- func (c *Client) Get(key string) ([]byte, error)
- func (c *Client) Queryf(format string, a ...interface{}) ([]byte, error)
- func (c *Client) Set(key string, value []byte) error
- func (c *Client) StartCLI()
- func (c *Client) Update(key string, value []byte) error
Constants ¶
View Source
const EXIT = "exit"
EXIT CLI code
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents the client structure of blazedb
func (*Client) Queryf ¶
Queryf allows to send a raw command to the blazedb server It works exactly the same as Printf, Sprintf, Fprintf...
func (*Client) Set ¶
Set put a new value for the given key (but if there already is a value an error is throwed, see Update to update a value)
Click to show internal directories.
Click to hide internal directories.