Documentation ¶
Overview ¶
Warning: Unexpected API changes will happen.
Index ¶
Constants ¶
View Source
const ( CMD_Cancel = iota /* Coordinator Server. */ CMD_Get CMD_Put /* Replication Server. */ CMD_RsGet CMD_RsPut CMD_ReadRepair CMD_HintedHandoff )
Commands.
View Source
const ( RESP_None = iota RESP_WriteResponse RESP_ReadFound RESP_ReadNotFound RESP_Exception )
Response Codes.
View Source
const ( CL_NONE = iota CL_ONE CL_TWO )
Consistency Levels.
Variables ¶
This section is empty.
Functions ¶
func NewRequest ¶
func NewRequest() interface{}
func NewResponse ¶
func NewResponse() interface{}
func ReqIsCancel ¶
Types ¶
type Request ¶
Click to show internal directories.
Click to hide internal directories.