Documentation ¶
Index ¶
- func ClientHandler(conn net.Conn, app *App)
- type App
- type Client
- func (c *Client) CommitTxn() error
- func (c *Client) FlushResp(resp interface{}) error
- func (c *Client) GetCurrentTxn() kv.Transaction
- func (c *Client) IsTxn() bool
- func (c *Client) NewTxn() error
- func (c *Client) Resp(resp interface{}) error
- func (c *Client) Resp1(resp interface{}) error
- func (c *Client) RollbackTxn() error
- type CmdFunc
- type Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientHandler ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCurrentTxn ¶
func (c *Client) GetCurrentTxn() kv.Transaction
func (*Client) RollbackTxn ¶
Click to show internal directories.
Click to hide internal directories.