Documentation ¶
Index ¶
Constants ¶
View Source
const ( GetRequestType = iota + 1 PutRequestType )
View Source
const ( GetResponseType = iota + 1 PutResponseType )
Variables ¶
This section is empty.
Functions ¶
func ResetClientFailureDetector ¶
func ResetClientFailureDetector()
Types ¶
type GetRequest ¶
type GetRequest struct {
Key string
}
func (GetRequest) String ¶
func (r GetRequest) String() string
func (GetRequest) Type ¶
func (r GetRequest) Type() RequestType
type PutRequest ¶
func (PutRequest) String ¶
func (r PutRequest) String() string
func (PutRequest) Type ¶
func (r PutRequest) Type() RequestType
type Request ¶
type Request interface { Type() RequestType String() string }
type RequestType ¶
type RequestType int
type Response ¶
type Response struct { Index int OK bool Key string Value string // contains filtered or unexported fields }
func (Response) Type ¶
func (r Response) Type() ResponseType
type ResponseType ¶
type ResponseType int
Click to show internal directories.
Click to hide internal directories.