Documentation
¶
Index ¶
- Variables
- type Command
- type DECRBYRes
- type DECRRes
- type DELRes
- type ECHORes
- type EXISTSRes
- type EXPIREATRes
- type EXPIRERes
- type EXPIRETIMERes
- type FLUSHDBRes
- type GETDELRes
- type GETEXRes
- type GETRes
- type GETSETRes
- type GETWATCHRes
- type HANDSHAKERes
- type HElement
- type HGETALLRes
- type HGETALLWATCHRes
- type HGETRes
- type HGETWATCHRes
- type HSETRes
- type INCRBYRes
- type INCRRes
- type KEYSRes
- type PINGRes
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetAttrs() *structpb.Struct
- func (x *Response) GetErr() string
- func (x *Response) GetVBytes() []byte
- func (x *Response) GetVFloat() float64
- func (x *Response) GetVInt() int64
- func (x *Response) GetVList() []*structpb.Value
- func (x *Response) GetVNil() bool
- func (x *Response) GetVSsMap() map[string]string
- func (x *Response) GetVStr() string
- func (x *Response) GetValue() isResponse_Value
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Response_VBytes
- type Response_VFloat
- type Response_VInt
- type Response_VNil
- type Response_VStr
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetAttrs() *structpb.Struct
- func (x *Result) GetDECRBYRes() *DECRBYRes
- func (x *Result) GetDECRRes() *DECRRes
- func (x *Result) GetDELRes() *DELRes
- func (x *Result) GetECHORes() *ECHORes
- func (x *Result) GetEXISTSRes() *EXISTSRes
- func (x *Result) GetEXPIREATRes() *EXPIREATRes
- func (x *Result) GetEXPIRERes() *EXPIRERes
- func (x *Result) GetEXPIRETIMERes() *EXPIRETIMERes
- func (x *Result) GetFLUSHDBRes() *FLUSHDBRes
- func (x *Result) GetGETDELRes() *GETDELRes
- func (x *Result) GetGETEXRes() *GETEXRes
- func (x *Result) GetGETRes() *GETRes
- func (x *Result) GetGETSETRes() *GETSETRes
- func (x *Result) GetGETWATCHRes() *GETWATCHRes
- func (x *Result) GetHANDSHAKERes() *HANDSHAKERes
- func (x *Result) GetHGETALLRes() *HGETALLRes
- func (x *Result) GetHGETALLWATCHRes() *HGETALLWATCHRes
- func (x *Result) GetHGETRes() *HGETRes
- func (x *Result) GetHGETWATCHRes() *HGETWATCHRes
- func (x *Result) GetHSETRes() *HSETRes
- func (x *Result) GetINCRBYRes() *INCRBYRes
- func (x *Result) GetINCRRes() *INCRRes
- func (x *Result) GetKEYSRes() *KEYSRes
- func (x *Result) GetMessage() string
- func (x *Result) GetPINGRes() *PINGRes
- func (x *Result) GetResponse() isResult_Response
- func (x *Result) GetSETRes() *SETRes
- func (x *Result) GetStatus() Status
- func (x *Result) GetTTLRes() *TTLRes
- func (x *Result) GetTYPERes() *TYPERes
- func (x *Result) GetUNWATCHRes() *UNWATCHRes
- func (x *Result) GetZADDRes() *ZADDRes
- func (x *Result) GetZCOUNTRes() *ZCOUNTRes
- func (x *Result) GetZRANGERes() *ZRANGERes
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type Result_DECRBYRes
- type Result_DECRRes
- type Result_DELRes
- type Result_ECHORes
- type Result_EXISTSRes
- type Result_EXPIREATRes
- type Result_EXPIRERes
- type Result_EXPIRETIMERes
- type Result_FLUSHDBRes
- type Result_GETDELRes
- type Result_GETEXRes
- type Result_GETRes
- type Result_GETSETRes
- type Result_GETWATCHRes
- type Result_HANDSHAKERes
- type Result_HGETALLRes
- type Result_HGETALLWATCHRes
- type Result_HGETRes
- type Result_HGETWATCHRes
- type Result_HSETRes
- type Result_INCRBYRes
- type Result_INCRRes
- type Result_KEYSRes
- type Result_PINGRes
- type Result_SETRes
- type Result_TTLRes
- type Result_TYPERes
- type Result_UNWATCHRes
- type Result_ZADDRes
- type Result_ZCOUNTRes
- type Result_ZRANGERes
- type SETRes
- type Status
- type TTLRes
- type TYPERes
- type UNWATCHRes
- type ZADDRes
- type ZCOUNTRes
- type ZElement
- type ZRANGERes
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_name = map[int32]string{ 0: "OK", 1: "ERR", } Status_value = map[string]int32{ "OK": 0, "ERR": 1, } )
Enum value maps for Status.
View Source
var File_protos_cmd_proto protoreflect.FileDescriptor
View Source
var File_protos_res_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
func (*Command) Descriptor
deprecated
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type DECRBYRes ¶ added in v1.0.5
type DECRBYRes struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*DECRBYRes) Descriptor
deprecated
added in
v1.0.5
func (*DECRBYRes) ProtoMessage ¶ added in v1.0.5
func (*DECRBYRes) ProtoMessage()
func (*DECRBYRes) ProtoReflect ¶ added in v1.0.5
func (x *DECRBYRes) ProtoReflect() protoreflect.Message
type DECRRes ¶ added in v1.0.5
type DECRRes struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*DECRRes) Descriptor
deprecated
added in
v1.0.5
func (*DECRRes) ProtoMessage ¶ added in v1.0.5
func (*DECRRes) ProtoMessage()
func (*DECRRes) ProtoReflect ¶ added in v1.0.5
func (x *DECRRes) ProtoReflect() protoreflect.Message
type DELRes ¶ added in v1.0.5
type DELRes struct {
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*DELRes) Descriptor
deprecated
added in
v1.0.5
func (*DELRes) ProtoMessage ¶ added in v1.0.5
func (*DELRes) ProtoMessage()
func (*DELRes) ProtoReflect ¶ added in v1.0.5
func (x *DELRes) ProtoReflect() protoreflect.Message
type ECHORes ¶ added in v1.0.5
type ECHORes struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ECHORes) Descriptor
deprecated
added in
v1.0.5
func (*ECHORes) GetMessage ¶ added in v1.0.5
func (*ECHORes) ProtoMessage ¶ added in v1.0.5
func (*ECHORes) ProtoMessage()
func (*ECHORes) ProtoReflect ¶ added in v1.0.5
func (x *ECHORes) ProtoReflect() protoreflect.Message
type EXISTSRes ¶ added in v1.0.5
type EXISTSRes struct {
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*EXISTSRes) Descriptor
deprecated
added in
v1.0.5
func (*EXISTSRes) ProtoMessage ¶ added in v1.0.5
func (*EXISTSRes) ProtoMessage()
func (*EXISTSRes) ProtoReflect ¶ added in v1.0.5
func (x *EXISTSRes) ProtoReflect() protoreflect.Message
type EXPIREATRes ¶ added in v1.0.5
type EXPIREATRes struct {
IsChanged bool `protobuf:"varint,1,opt,name=is_changed,json=isChanged,proto3" json:"is_changed,omitempty"`
// contains filtered or unexported fields
}
func (*EXPIREATRes) Descriptor
deprecated
added in
v1.0.5
func (*EXPIREATRes) Descriptor() ([]byte, []int)
Deprecated: Use EXPIREATRes.ProtoReflect.Descriptor instead.
func (*EXPIREATRes) GetIsChanged ¶ added in v1.0.5
func (x *EXPIREATRes) GetIsChanged() bool
func (*EXPIREATRes) ProtoMessage ¶ added in v1.0.5
func (*EXPIREATRes) ProtoMessage()
func (*EXPIREATRes) ProtoReflect ¶ added in v1.0.5
func (x *EXPIREATRes) ProtoReflect() protoreflect.Message
func (*EXPIREATRes) Reset ¶ added in v1.0.5
func (x *EXPIREATRes) Reset()
func (*EXPIREATRes) String ¶ added in v1.0.5
func (x *EXPIREATRes) String() string
type EXPIRERes ¶ added in v1.0.5
type EXPIRERes struct {
IsChanged bool `protobuf:"varint,1,opt,name=is_changed,json=isChanged,proto3" json:"is_changed,omitempty"`
// contains filtered or unexported fields
}
func (*EXPIRERes) Descriptor
deprecated
added in
v1.0.5
func (*EXPIRERes) GetIsChanged ¶ added in v1.0.5
func (*EXPIRERes) ProtoMessage ¶ added in v1.0.5
func (*EXPIRERes) ProtoMessage()
func (*EXPIRERes) ProtoReflect ¶ added in v1.0.5
func (x *EXPIRERes) ProtoReflect() protoreflect.Message
type EXPIRETIMERes ¶ added in v1.0.5
type EXPIRETIMERes struct {
UnixSec int64 `protobuf:"varint,1,opt,name=unix_sec,json=unixSec,proto3" json:"unix_sec,omitempty"`
// contains filtered or unexported fields
}
func (*EXPIRETIMERes) Descriptor
deprecated
added in
v1.0.5
func (*EXPIRETIMERes) Descriptor() ([]byte, []int)
Deprecated: Use EXPIRETIMERes.ProtoReflect.Descriptor instead.
func (*EXPIRETIMERes) GetUnixSec ¶ added in v1.0.5
func (x *EXPIRETIMERes) GetUnixSec() int64
func (*EXPIRETIMERes) ProtoMessage ¶ added in v1.0.5
func (*EXPIRETIMERes) ProtoMessage()
func (*EXPIRETIMERes) ProtoReflect ¶ added in v1.0.5
func (x *EXPIRETIMERes) ProtoReflect() protoreflect.Message
func (*EXPIRETIMERes) Reset ¶ added in v1.0.5
func (x *EXPIRETIMERes) Reset()
func (*EXPIRETIMERes) String ¶ added in v1.0.5
func (x *EXPIRETIMERes) String() string
type FLUSHDBRes ¶ added in v1.0.5
type FLUSHDBRes struct {
// contains filtered or unexported fields
}
func (*FLUSHDBRes) Descriptor
deprecated
added in
v1.0.5
func (*FLUSHDBRes) Descriptor() ([]byte, []int)
Deprecated: Use FLUSHDBRes.ProtoReflect.Descriptor instead.
func (*FLUSHDBRes) ProtoMessage ¶ added in v1.0.5
func (*FLUSHDBRes) ProtoMessage()
func (*FLUSHDBRes) ProtoReflect ¶ added in v1.0.5
func (x *FLUSHDBRes) ProtoReflect() protoreflect.Message
func (*FLUSHDBRes) Reset ¶ added in v1.0.5
func (x *FLUSHDBRes) Reset()
func (*FLUSHDBRes) String ¶ added in v1.0.5
func (x *FLUSHDBRes) String() string
type GETDELRes ¶ added in v1.0.5
type GETDELRes struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*GETDELRes) Descriptor
deprecated
added in
v1.0.5
func (*GETDELRes) ProtoMessage ¶ added in v1.0.5
func (*GETDELRes) ProtoMessage()
func (*GETDELRes) ProtoReflect ¶ added in v1.0.5
func (x *GETDELRes) ProtoReflect() protoreflect.Message
type GETEXRes ¶ added in v1.0.5
type GETEXRes struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*GETEXRes) Descriptor
deprecated
added in
v1.0.5
func (*GETEXRes) ProtoMessage ¶ added in v1.0.5
func (*GETEXRes) ProtoMessage()
func (*GETEXRes) ProtoReflect ¶ added in v1.0.5
func (x *GETEXRes) ProtoReflect() protoreflect.Message
type GETRes ¶ added in v1.0.5
type GETRes struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*GETRes) Descriptor
deprecated
added in
v1.0.5
func (*GETRes) ProtoMessage ¶ added in v1.0.5
func (*GETRes) ProtoMessage()
func (*GETRes) ProtoReflect ¶ added in v1.0.5
func (x *GETRes) ProtoReflect() protoreflect.Message
type GETSETRes ¶ added in v1.0.5
type GETSETRes struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*GETSETRes) Descriptor
deprecated
added in
v1.0.5
func (*GETSETRes) ProtoMessage ¶ added in v1.0.5
func (*GETSETRes) ProtoMessage()
func (*GETSETRes) ProtoReflect ¶ added in v1.0.5
func (x *GETSETRes) ProtoReflect() protoreflect.Message
type GETWATCHRes ¶ added in v1.0.5
type GETWATCHRes struct {
// contains filtered or unexported fields
}
func (*GETWATCHRes) Descriptor
deprecated
added in
v1.0.5
func (*GETWATCHRes) Descriptor() ([]byte, []int)
Deprecated: Use GETWATCHRes.ProtoReflect.Descriptor instead.
func (*GETWATCHRes) ProtoMessage ¶ added in v1.0.5
func (*GETWATCHRes) ProtoMessage()
func (*GETWATCHRes) ProtoReflect ¶ added in v1.0.5
func (x *GETWATCHRes) ProtoReflect() protoreflect.Message
func (*GETWATCHRes) Reset ¶ added in v1.0.5
func (x *GETWATCHRes) Reset()
func (*GETWATCHRes) String ¶ added in v1.0.5
func (x *GETWATCHRes) String() string
type HANDSHAKERes ¶ added in v1.0.5
type HANDSHAKERes struct {
// contains filtered or unexported fields
}
func (*HANDSHAKERes) Descriptor
deprecated
added in
v1.0.5
func (*HANDSHAKERes) Descriptor() ([]byte, []int)
Deprecated: Use HANDSHAKERes.ProtoReflect.Descriptor instead.
func (*HANDSHAKERes) ProtoMessage ¶ added in v1.0.5
func (*HANDSHAKERes) ProtoMessage()
func (*HANDSHAKERes) ProtoReflect ¶ added in v1.0.5
func (x *HANDSHAKERes) ProtoReflect() protoreflect.Message
func (*HANDSHAKERes) Reset ¶ added in v1.0.5
func (x *HANDSHAKERes) Reset()
func (*HANDSHAKERes) String ¶ added in v1.0.5
func (x *HANDSHAKERes) String() string
type HElement ¶ added in v1.0.5
type HElement struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*HElement) Descriptor
deprecated
added in
v1.0.5
func (*HElement) ProtoMessage ¶ added in v1.0.5
func (*HElement) ProtoMessage()
func (*HElement) ProtoReflect ¶ added in v1.0.5
func (x *HElement) ProtoReflect() protoreflect.Message
type HGETALLRes ¶ added in v1.0.5
type HGETALLRes struct {
Elements []*HElement `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
// contains filtered or unexported fields
}
func (*HGETALLRes) Descriptor
deprecated
added in
v1.0.5
func (*HGETALLRes) Descriptor() ([]byte, []int)
Deprecated: Use HGETALLRes.ProtoReflect.Descriptor instead.
func (*HGETALLRes) GetElements ¶ added in v1.0.5
func (x *HGETALLRes) GetElements() []*HElement
func (*HGETALLRes) ProtoMessage ¶ added in v1.0.5
func (*HGETALLRes) ProtoMessage()
func (*HGETALLRes) ProtoReflect ¶ added in v1.0.5
func (x *HGETALLRes) ProtoReflect() protoreflect.Message
func (*HGETALLRes) Reset ¶ added in v1.0.5
func (x *HGETALLRes) Reset()
func (*HGETALLRes) String ¶ added in v1.0.5
func (x *HGETALLRes) String() string
type HGETALLWATCHRes ¶ added in v1.0.5
type HGETALLWATCHRes struct {
// contains filtered or unexported fields
}
func (*HGETALLWATCHRes) Descriptor
deprecated
added in
v1.0.5
func (*HGETALLWATCHRes) Descriptor() ([]byte, []int)
Deprecated: Use HGETALLWATCHRes.ProtoReflect.Descriptor instead.
func (*HGETALLWATCHRes) ProtoMessage ¶ added in v1.0.5
func (*HGETALLWATCHRes) ProtoMessage()
func (*HGETALLWATCHRes) ProtoReflect ¶ added in v1.0.5
func (x *HGETALLWATCHRes) ProtoReflect() protoreflect.Message
func (*HGETALLWATCHRes) Reset ¶ added in v1.0.5
func (x *HGETALLWATCHRes) Reset()
func (*HGETALLWATCHRes) String ¶ added in v1.0.5
func (x *HGETALLWATCHRes) String() string
type HGETRes ¶ added in v1.0.5
type HGETRes struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*HGETRes) Descriptor
deprecated
added in
v1.0.5
func (*HGETRes) ProtoMessage ¶ added in v1.0.5
func (*HGETRes) ProtoMessage()
func (*HGETRes) ProtoReflect ¶ added in v1.0.5
func (x *HGETRes) ProtoReflect() protoreflect.Message
type HGETWATCHRes ¶ added in v1.0.5
type HGETWATCHRes struct {
// contains filtered or unexported fields
}
func (*HGETWATCHRes) Descriptor
deprecated
added in
v1.0.5
func (*HGETWATCHRes) Descriptor() ([]byte, []int)
Deprecated: Use HGETWATCHRes.ProtoReflect.Descriptor instead.
func (*HGETWATCHRes) ProtoMessage ¶ added in v1.0.5
func (*HGETWATCHRes) ProtoMessage()
func (*HGETWATCHRes) ProtoReflect ¶ added in v1.0.5
func (x *HGETWATCHRes) ProtoReflect() protoreflect.Message
func (*HGETWATCHRes) Reset ¶ added in v1.0.5
func (x *HGETWATCHRes) Reset()
func (*HGETWATCHRes) String ¶ added in v1.0.5
func (x *HGETWATCHRes) String() string
type HSETRes ¶ added in v1.0.5
type HSETRes struct {
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*HSETRes) Descriptor
deprecated
added in
v1.0.5
func (*HSETRes) ProtoMessage ¶ added in v1.0.5
func (*HSETRes) ProtoMessage()
func (*HSETRes) ProtoReflect ¶ added in v1.0.5
func (x *HSETRes) ProtoReflect() protoreflect.Message
type INCRBYRes ¶ added in v1.0.5
type INCRBYRes struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*INCRBYRes) Descriptor
deprecated
added in
v1.0.5
func (*INCRBYRes) ProtoMessage ¶ added in v1.0.5
func (*INCRBYRes) ProtoMessage()
func (*INCRBYRes) ProtoReflect ¶ added in v1.0.5
func (x *INCRBYRes) ProtoReflect() protoreflect.Message
type INCRRes ¶ added in v1.0.5
type INCRRes struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*INCRRes) Descriptor
deprecated
added in
v1.0.5
func (*INCRRes) ProtoMessage ¶ added in v1.0.5
func (*INCRRes) ProtoMessage()
func (*INCRRes) ProtoReflect ¶ added in v1.0.5
func (x *INCRRes) ProtoReflect() protoreflect.Message
type KEYSRes ¶ added in v1.0.5
type KEYSRes struct {
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
// contains filtered or unexported fields
}
func (*KEYSRes) Descriptor
deprecated
added in
v1.0.5
func (*KEYSRes) ProtoMessage ¶ added in v1.0.5
func (*KEYSRes) ProtoMessage()
func (*KEYSRes) ProtoReflect ¶ added in v1.0.5
func (x *KEYSRes) ProtoReflect() protoreflect.Message
type PINGRes ¶ added in v1.0.5
type PINGRes struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*PINGRes) Descriptor
deprecated
added in
v1.0.5
func (*PINGRes) GetMessage ¶ added in v1.0.5
func (*PINGRes) ProtoMessage ¶ added in v1.0.5
func (*PINGRes) ProtoMessage()
func (*PINGRes) ProtoReflect ¶ added in v1.0.5
func (x *PINGRes) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
// Types that are valid to be assigned to Value:
//
// *Response_VNil
// *Response_VInt
// *Response_VStr
// *Response_VFloat
// *Response_VBytes
Value isResponse_Value `protobuf_oneof:"value"`
Attrs *structpb.Struct `protobuf:"bytes,7,opt,name=attrs,proto3" json:"attrs,omitempty"`
VList []*structpb.Value `protobuf:"bytes,8,rep,name=v_list,json=vList,proto3" json:"v_list,omitempty"`
VSsMap map[string]string `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Response_VBytes ¶
type Response_VBytes struct {
VBytes []byte `protobuf:"bytes,6,opt,name=v_bytes,json=vBytes,proto3,oneof"`
}
type Response_VFloat ¶
type Response_VFloat struct {
VFloat float64 `protobuf:"fixed64,5,opt,name=v_float,json=vFloat,proto3,oneof"`
}
type Response_VInt ¶
type Response_VInt struct {
VInt int64 `protobuf:"varint,3,opt,name=v_int,json=vInt,proto3,oneof"`
}
type Response_VNil ¶
type Response_VNil struct {
VNil bool `protobuf:"varint,2,opt,name=v_nil,json=vNil,proto3,oneof"`
}
type Response_VStr ¶
type Response_VStr struct {
VStr string `protobuf:"bytes,4,opt,name=v_str,json=vStr,proto3,oneof"`
}
type Result ¶ added in v1.0.5
type Result struct {
Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=wire.Status" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Attrs *structpb.Struct `protobuf:"bytes,3,opt,name=attrs,proto3" json:"attrs,omitempty"`
// Types that are valid to be assigned to Response:
//
// *Result_TYPERes
// *Result_PINGRes
// *Result_ECHORes
// *Result_HANDSHAKERes
// *Result_EXISTSRes
// *Result_GETRes
// *Result_SETRes
// *Result_DELRes
// *Result_KEYSRes
// *Result_GETDELRes
// *Result_GETEXRes
// *Result_GETSETRes
// *Result_INCRRes
// *Result_DECRRes
// *Result_INCRBYRes
// *Result_DECRBYRes
// *Result_FLUSHDBRes
// *Result_EXPIRERes
// *Result_EXPIREATRes
// *Result_EXPIRETIMERes
// *Result_TTLRes
// *Result_GETWATCHRes
// *Result_UNWATCHRes
// *Result_HGETRes
// *Result_HSETRes
// *Result_HGETALLRes
// *Result_HGETWATCHRes
// *Result_HGETALLWATCHRes
// *Result_ZADDRes
// *Result_ZCOUNTRes
// *Result_ZRANGERes
Response isResult_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*Result) Descriptor
deprecated
added in
v1.0.5
func (*Result) GetDECRBYRes ¶ added in v1.0.5
func (*Result) GetDECRRes ¶ added in v1.0.5
func (*Result) GetECHORes ¶ added in v1.0.5
func (*Result) GetEXISTSRes ¶ added in v1.0.5
func (*Result) GetEXPIREATRes ¶ added in v1.0.5
func (x *Result) GetEXPIREATRes() *EXPIREATRes
func (*Result) GetEXPIRERes ¶ added in v1.0.5
func (*Result) GetEXPIRETIMERes ¶ added in v1.0.5
func (x *Result) GetEXPIRETIMERes() *EXPIRETIMERes
func (*Result) GetFLUSHDBRes ¶ added in v1.0.5
func (x *Result) GetFLUSHDBRes() *FLUSHDBRes
func (*Result) GetGETDELRes ¶ added in v1.0.5
func (*Result) GetGETEXRes ¶ added in v1.0.5
func (*Result) GetGETSETRes ¶ added in v1.0.5
func (*Result) GetGETWATCHRes ¶ added in v1.0.5
func (x *Result) GetGETWATCHRes() *GETWATCHRes
func (*Result) GetHANDSHAKERes ¶ added in v1.0.5
func (x *Result) GetHANDSHAKERes() *HANDSHAKERes
func (*Result) GetHGETALLRes ¶ added in v1.0.5
func (x *Result) GetHGETALLRes() *HGETALLRes
func (*Result) GetHGETALLWATCHRes ¶ added in v1.0.5
func (x *Result) GetHGETALLWATCHRes() *HGETALLWATCHRes
func (*Result) GetHGETRes ¶ added in v1.0.5
func (*Result) GetHGETWATCHRes ¶ added in v1.0.5
func (x *Result) GetHGETWATCHRes() *HGETWATCHRes
func (*Result) GetHSETRes ¶ added in v1.0.5
func (*Result) GetINCRBYRes ¶ added in v1.0.5
func (*Result) GetINCRRes ¶ added in v1.0.5
func (*Result) GetKEYSRes ¶ added in v1.0.5
func (*Result) GetMessage ¶ added in v1.0.5
func (*Result) GetPINGRes ¶ added in v1.0.5
func (*Result) GetResponse ¶ added in v1.0.5
func (x *Result) GetResponse() isResult_Response
func (*Result) GetTYPERes ¶ added in v1.0.5
func (*Result) GetUNWATCHRes ¶ added in v1.0.5
func (x *Result) GetUNWATCHRes() *UNWATCHRes
func (*Result) GetZADDRes ¶ added in v1.0.5
func (*Result) GetZCOUNTRes ¶ added in v1.0.5
func (*Result) GetZRANGERes ¶ added in v1.0.5
func (*Result) ProtoMessage ¶ added in v1.0.5
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶ added in v1.0.5
func (x *Result) ProtoReflect() protoreflect.Message
type Result_DECRBYRes ¶ added in v1.0.5
type Result_DECRBYRes struct {
DECRBYRes *DECRBYRes `protobuf:"bytes,22,opt,name=DECRBYRes,proto3,oneof"`
}
type Result_DECRRes ¶ added in v1.0.5
type Result_DECRRes struct {
DECRRes *DECRRes `protobuf:"bytes,20,opt,name=DECRRes,proto3,oneof"`
}
type Result_DELRes ¶ added in v1.0.5
type Result_DELRes struct {
DELRes *DELRes `protobuf:"bytes,14,opt,name=DELRes,proto3,oneof"`
}
type Result_ECHORes ¶ added in v1.0.5
type Result_ECHORes struct {
ECHORes *ECHORes `protobuf:"bytes,9,opt,name=ECHORes,proto3,oneof"`
}
type Result_EXISTSRes ¶ added in v1.0.5
type Result_EXISTSRes struct {
EXISTSRes *EXISTSRes `protobuf:"bytes,11,opt,name=EXISTSRes,proto3,oneof"`
}
type Result_EXPIREATRes ¶ added in v1.0.5
type Result_EXPIREATRes struct {
EXPIREATRes *EXPIREATRes `protobuf:"bytes,25,opt,name=EXPIREATRes,proto3,oneof"`
}
type Result_EXPIRERes ¶ added in v1.0.5
type Result_EXPIRERes struct {
EXPIRERes *EXPIRERes `protobuf:"bytes,24,opt,name=EXPIRERes,proto3,oneof"`
}
type Result_EXPIRETIMERes ¶ added in v1.0.5
type Result_EXPIRETIMERes struct {
EXPIRETIMERes *EXPIRETIMERes `protobuf:"bytes,26,opt,name=EXPIRETIMERes,proto3,oneof"`
}
type Result_FLUSHDBRes ¶ added in v1.0.5
type Result_FLUSHDBRes struct {
FLUSHDBRes *FLUSHDBRes `protobuf:"bytes,23,opt,name=FLUSHDBRes,proto3,oneof"`
}
type Result_GETDELRes ¶ added in v1.0.5
type Result_GETDELRes struct {
GETDELRes *GETDELRes `protobuf:"bytes,16,opt,name=GETDELRes,proto3,oneof"`
}
type Result_GETEXRes ¶ added in v1.0.5
type Result_GETEXRes struct {
GETEXRes *GETEXRes `protobuf:"bytes,17,opt,name=GETEXRes,proto3,oneof"`
}
type Result_GETRes ¶ added in v1.0.5
type Result_GETRes struct {
GETRes *GETRes `protobuf:"bytes,12,opt,name=GETRes,proto3,oneof"`
}
type Result_GETSETRes ¶ added in v1.0.5
type Result_GETSETRes struct {
GETSETRes *GETSETRes `protobuf:"bytes,18,opt,name=GETSETRes,proto3,oneof"`
}
type Result_GETWATCHRes ¶ added in v1.0.5
type Result_GETWATCHRes struct {
GETWATCHRes *GETWATCHRes `protobuf:"bytes,28,opt,name=GETWATCHRes,proto3,oneof"`
}
type Result_HANDSHAKERes ¶ added in v1.0.5
type Result_HANDSHAKERes struct {
HANDSHAKERes *HANDSHAKERes `protobuf:"bytes,10,opt,name=HANDSHAKERes,proto3,oneof"`
}
type Result_HGETALLRes ¶ added in v1.0.5
type Result_HGETALLRes struct {
HGETALLRes *HGETALLRes `protobuf:"bytes,32,opt,name=HGETALLRes,proto3,oneof"`
}
type Result_HGETALLWATCHRes ¶ added in v1.0.5
type Result_HGETALLWATCHRes struct {
HGETALLWATCHRes *HGETALLWATCHRes `protobuf:"bytes,34,opt,name=HGETALLWATCHRes,proto3,oneof"`
}
type Result_HGETRes ¶ added in v1.0.5
type Result_HGETRes struct {
HGETRes *HGETRes `protobuf:"bytes,30,opt,name=HGETRes,proto3,oneof"`
}
type Result_HGETWATCHRes ¶ added in v1.0.5
type Result_HGETWATCHRes struct {
HGETWATCHRes *HGETWATCHRes `protobuf:"bytes,33,opt,name=HGETWATCHRes,proto3,oneof"`
}
type Result_HSETRes ¶ added in v1.0.5
type Result_HSETRes struct {
HSETRes *HSETRes `protobuf:"bytes,31,opt,name=HSETRes,proto3,oneof"`
}
type Result_INCRBYRes ¶ added in v1.0.5
type Result_INCRBYRes struct {
INCRBYRes *INCRBYRes `protobuf:"bytes,21,opt,name=INCRBYRes,proto3,oneof"`
}
type Result_INCRRes ¶ added in v1.0.5
type Result_INCRRes struct {
INCRRes *INCRRes `protobuf:"bytes,19,opt,name=INCRRes,proto3,oneof"`
}
type Result_KEYSRes ¶ added in v1.0.5
type Result_KEYSRes struct {
KEYSRes *KEYSRes `protobuf:"bytes,15,opt,name=KEYSRes,proto3,oneof"`
}
type Result_PINGRes ¶ added in v1.0.5
type Result_PINGRes struct {
PINGRes *PINGRes `protobuf:"bytes,8,opt,name=PINGRes,proto3,oneof"`
}
type Result_SETRes ¶ added in v1.0.5
type Result_SETRes struct {
SETRes *SETRes `protobuf:"bytes,13,opt,name=SETRes,proto3,oneof"`
}
type Result_TTLRes ¶ added in v1.0.5
type Result_TTLRes struct {
TTLRes *TTLRes `protobuf:"bytes,27,opt,name=TTLRes,proto3,oneof"`
}
type Result_TYPERes ¶ added in v1.0.5
type Result_TYPERes struct {
TYPERes *TYPERes `protobuf:"bytes,4,opt,name=TYPERes,proto3,oneof"`
}
type Result_UNWATCHRes ¶ added in v1.0.5
type Result_UNWATCHRes struct {
UNWATCHRes *UNWATCHRes `protobuf:"bytes,29,opt,name=UNWATCHRes,proto3,oneof"`
}
type Result_ZADDRes ¶ added in v1.0.5
type Result_ZADDRes struct {
ZADDRes *ZADDRes `protobuf:"bytes,35,opt,name=ZADDRes,proto3,oneof"`
}
type Result_ZCOUNTRes ¶ added in v1.0.5
type Result_ZCOUNTRes struct {
ZCOUNTRes *ZCOUNTRes `protobuf:"bytes,36,opt,name=ZCOUNTRes,proto3,oneof"`
}
type Result_ZRANGERes ¶ added in v1.0.5
type Result_ZRANGERes struct {
ZRANGERes *ZRANGERes `protobuf:"bytes,37,opt,name=ZRANGERes,proto3,oneof"`
}
type SETRes ¶ added in v1.0.5
type SETRes struct {
// contains filtered or unexported fields
}
func (*SETRes) Descriptor
deprecated
added in
v1.0.5
func (*SETRes) ProtoMessage ¶ added in v1.0.5
func (*SETRes) ProtoMessage()
func (*SETRes) ProtoReflect ¶ added in v1.0.5
func (x *SETRes) ProtoReflect() protoreflect.Message
type Status ¶ added in v1.0.5
type Status int32
func (Status) Descriptor ¶ added in v1.0.5
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
added in
v1.0.5
func (Status) Number ¶ added in v1.0.5
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶ added in v1.0.5
func (Status) Type() protoreflect.EnumType
type TTLRes ¶ added in v1.0.5
type TTLRes struct {
Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
// contains filtered or unexported fields
}
func (*TTLRes) Descriptor
deprecated
added in
v1.0.5
func (*TTLRes) GetSeconds ¶ added in v1.0.5
func (*TTLRes) ProtoMessage ¶ added in v1.0.5
func (*TTLRes) ProtoMessage()
func (*TTLRes) ProtoReflect ¶ added in v1.0.5
func (x *TTLRes) ProtoReflect() protoreflect.Message
type TYPERes ¶ added in v1.0.5
type TYPERes struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*TYPERes) Descriptor
deprecated
added in
v1.0.5
func (*TYPERes) ProtoMessage ¶ added in v1.0.5
func (*TYPERes) ProtoMessage()
func (*TYPERes) ProtoReflect ¶ added in v1.0.5
func (x *TYPERes) ProtoReflect() protoreflect.Message
type UNWATCHRes ¶ added in v1.0.5
type UNWATCHRes struct {
// contains filtered or unexported fields
}
func (*UNWATCHRes) Descriptor
deprecated
added in
v1.0.5
func (*UNWATCHRes) Descriptor() ([]byte, []int)
Deprecated: Use UNWATCHRes.ProtoReflect.Descriptor instead.
func (*UNWATCHRes) ProtoMessage ¶ added in v1.0.5
func (*UNWATCHRes) ProtoMessage()
func (*UNWATCHRes) ProtoReflect ¶ added in v1.0.5
func (x *UNWATCHRes) ProtoReflect() protoreflect.Message
func (*UNWATCHRes) Reset ¶ added in v1.0.5
func (x *UNWATCHRes) Reset()
func (*UNWATCHRes) String ¶ added in v1.0.5
func (x *UNWATCHRes) String() string
type ZADDRes ¶ added in v1.0.5
type ZADDRes struct {
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*ZADDRes) Descriptor
deprecated
added in
v1.0.5
func (*ZADDRes) ProtoMessage ¶ added in v1.0.5
func (*ZADDRes) ProtoMessage()
func (*ZADDRes) ProtoReflect ¶ added in v1.0.5
func (x *ZADDRes) ProtoReflect() protoreflect.Message
type ZCOUNTRes ¶ added in v1.0.5
type ZCOUNTRes struct {
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*ZCOUNTRes) Descriptor
deprecated
added in
v1.0.5
func (*ZCOUNTRes) ProtoMessage ¶ added in v1.0.5
func (*ZCOUNTRes) ProtoMessage()
func (*ZCOUNTRes) ProtoReflect ¶ added in v1.0.5
func (x *ZCOUNTRes) ProtoReflect() protoreflect.Message
type ZElement ¶ added in v1.0.5
type ZElement struct {
Score int64 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"`
Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
// contains filtered or unexported fields
}
func (*ZElement) Descriptor
deprecated
added in
v1.0.5
func (*ZElement) ProtoMessage ¶ added in v1.0.5
func (*ZElement) ProtoMessage()
func (*ZElement) ProtoReflect ¶ added in v1.0.5
func (x *ZElement) ProtoReflect() protoreflect.Message
type ZRANGERes ¶ added in v1.0.5
type ZRANGERes struct {
Elements []*ZElement `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
// contains filtered or unexported fields
}
func (*ZRANGERes) Descriptor
deprecated
added in
v1.0.5
func (*ZRANGERes) GetElements ¶ added in v1.0.5
func (*ZRANGERes) ProtoMessage ¶ added in v1.0.5
func (*ZRANGERes) ProtoMessage()
func (*ZRANGERes) ProtoReflect ¶ added in v1.0.5
func (x *ZRANGERes) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.