wire

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2025 License: BSD-3-Clause Imports: 6 Imported by: 4

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetArgs

func (x *Command) GetArgs() []string

func (*Command) GetCmd

func (x *Command) GetCmd() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

func (x *Command) ProtoReflect() protoreflect.Message

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DECRBYRes.ProtoReflect.Descriptor instead.

func (*DECRBYRes) GetValue added in v1.0.5

func (x *DECRBYRes) GetValue() int64

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

func (*DECRBYRes) Reset added in v1.0.5

func (x *DECRBYRes) Reset()

func (*DECRBYRes) String added in v1.0.5

func (x *DECRBYRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DECRRes.ProtoReflect.Descriptor instead.

func (*DECRRes) GetValue added in v1.0.5

func (x *DECRRes) GetValue() int64

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

func (*DECRRes) Reset added in v1.0.5

func (x *DECRRes) Reset()

func (*DECRRes) String added in v1.0.5

func (x *DECRRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DELRes.ProtoReflect.Descriptor instead.

func (*DELRes) GetCount added in v1.0.5

func (x *DELRes) GetCount() int64

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

func (*DELRes) Reset added in v1.0.5

func (x *DELRes) Reset()

func (*DELRes) String added in v1.0.5

func (x *DELRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ECHORes.ProtoReflect.Descriptor instead.

func (*ECHORes) GetMessage added in v1.0.5

func (x *ECHORes) GetMessage() string

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

func (*ECHORes) Reset added in v1.0.5

func (x *ECHORes) Reset()

func (*ECHORes) String added in v1.0.5

func (x *ECHORes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use EXISTSRes.ProtoReflect.Descriptor instead.

func (*EXISTSRes) GetCount added in v1.0.5

func (x *EXISTSRes) GetCount() int64

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

func (*EXISTSRes) Reset added in v1.0.5

func (x *EXISTSRes) Reset()

func (*EXISTSRes) String added in v1.0.5

func (x *EXISTSRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use EXPIRERes.ProtoReflect.Descriptor instead.

func (*EXPIRERes) GetIsChanged added in v1.0.5

func (x *EXPIRERes) GetIsChanged() bool

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

func (*EXPIRERes) Reset added in v1.0.5

func (x *EXPIRERes) Reset()

func (*EXPIRERes) String added in v1.0.5

func (x *EXPIRERes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use GETDELRes.ProtoReflect.Descriptor instead.

func (*GETDELRes) GetValue added in v1.0.5

func (x *GETDELRes) GetValue() string

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

func (*GETDELRes) Reset added in v1.0.5

func (x *GETDELRes) Reset()

func (*GETDELRes) String added in v1.0.5

func (x *GETDELRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use GETEXRes.ProtoReflect.Descriptor instead.

func (*GETEXRes) GetValue added in v1.0.5

func (x *GETEXRes) GetValue() string

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

func (*GETEXRes) Reset added in v1.0.5

func (x *GETEXRes) Reset()

func (*GETEXRes) String added in v1.0.5

func (x *GETEXRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use GETRes.ProtoReflect.Descriptor instead.

func (*GETRes) GetValue added in v1.0.5

func (x *GETRes) GetValue() string

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

func (*GETRes) Reset added in v1.0.5

func (x *GETRes) Reset()

func (*GETRes) String added in v1.0.5

func (x *GETRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use GETSETRes.ProtoReflect.Descriptor instead.

func (*GETSETRes) GetValue added in v1.0.5

func (x *GETSETRes) GetValue() string

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

func (*GETSETRes) Reset added in v1.0.5

func (x *GETSETRes) Reset()

func (*GETSETRes) String added in v1.0.5

func (x *GETSETRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use HElement.ProtoReflect.Descriptor instead.

func (*HElement) GetKey added in v1.0.5

func (x *HElement) GetKey() string

func (*HElement) GetValue added in v1.0.5

func (x *HElement) GetValue() string

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

func (*HElement) Reset added in v1.0.5

func (x *HElement) Reset()

func (*HElement) String added in v1.0.5

func (x *HElement) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use HGETRes.ProtoReflect.Descriptor instead.

func (*HGETRes) GetValue added in v1.0.5

func (x *HGETRes) GetValue() string

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

func (*HGETRes) Reset added in v1.0.5

func (x *HGETRes) Reset()

func (*HGETRes) String added in v1.0.5

func (x *HGETRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use HSETRes.ProtoReflect.Descriptor instead.

func (*HSETRes) GetCount added in v1.0.5

func (x *HSETRes) GetCount() int64

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

func (*HSETRes) Reset added in v1.0.5

func (x *HSETRes) Reset()

func (*HSETRes) String added in v1.0.5

func (x *HSETRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use INCRBYRes.ProtoReflect.Descriptor instead.

func (*INCRBYRes) GetValue added in v1.0.5

func (x *INCRBYRes) GetValue() int64

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

func (*INCRBYRes) Reset added in v1.0.5

func (x *INCRBYRes) Reset()

func (*INCRBYRes) String added in v1.0.5

func (x *INCRBYRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use INCRRes.ProtoReflect.Descriptor instead.

func (*INCRRes) GetValue added in v1.0.5

func (x *INCRRes) GetValue() int64

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

func (*INCRRes) Reset added in v1.0.5

func (x *INCRRes) Reset()

func (*INCRRes) String added in v1.0.5

func (x *INCRRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use KEYSRes.ProtoReflect.Descriptor instead.

func (*KEYSRes) GetKeys added in v1.0.5

func (x *KEYSRes) GetKeys() []string

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

func (*KEYSRes) Reset added in v1.0.5

func (x *KEYSRes) Reset()

func (*KEYSRes) String added in v1.0.5

func (x *KEYSRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PINGRes.ProtoReflect.Descriptor instead.

func (*PINGRes) GetMessage added in v1.0.5

func (x *PINGRes) GetMessage() string

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

func (*PINGRes) Reset added in v1.0.5

func (x *PINGRes) Reset()

func (*PINGRes) String added in v1.0.5

func (x *PINGRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetAttrs

func (x *Response) GetAttrs() *structpb.Struct

func (*Response) GetErr

func (x *Response) GetErr() string

func (*Response) GetVBytes

func (x *Response) GetVBytes() []byte

func (*Response) GetVFloat

func (x *Response) GetVFloat() float64

func (*Response) GetVInt

func (x *Response) GetVInt() int64

func (*Response) GetVList

func (x *Response) GetVList() []*structpb.Value

func (*Response) GetVNil

func (x *Response) GetVNil() bool

func (*Response) GetVSsMap added in v1.0.4

func (x *Response) GetVSsMap() map[string]string

func (*Response) GetVStr

func (x *Response) GetVStr() string

func (*Response) GetValue

func (x *Response) GetValue() isResponse_Value

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetAttrs added in v1.0.5

func (x *Result) GetAttrs() *structpb.Struct

func (*Result) GetDECRBYRes added in v1.0.5

func (x *Result) GetDECRBYRes() *DECRBYRes

func (*Result) GetDECRRes added in v1.0.5

func (x *Result) GetDECRRes() *DECRRes

func (*Result) GetDELRes added in v1.0.5

func (x *Result) GetDELRes() *DELRes

func (*Result) GetECHORes added in v1.0.5

func (x *Result) GetECHORes() *ECHORes

func (*Result) GetEXISTSRes added in v1.0.5

func (x *Result) GetEXISTSRes() *EXISTSRes

func (*Result) GetEXPIREATRes added in v1.0.5

func (x *Result) GetEXPIREATRes() *EXPIREATRes

func (*Result) GetEXPIRERes added in v1.0.5

func (x *Result) GetEXPIRERes() *EXPIRERes

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 (x *Result) GetGETDELRes() *GETDELRes

func (*Result) GetGETEXRes added in v1.0.5

func (x *Result) GetGETEXRes() *GETEXRes

func (*Result) GetGETRes added in v1.0.5

func (x *Result) GetGETRes() *GETRes

func (*Result) GetGETSETRes added in v1.0.5

func (x *Result) GetGETSETRes() *GETSETRes

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 (x *Result) GetHGETRes() *HGETRes

func (*Result) GetHGETWATCHRes added in v1.0.5

func (x *Result) GetHGETWATCHRes() *HGETWATCHRes

func (*Result) GetHSETRes added in v1.0.5

func (x *Result) GetHSETRes() *HSETRes

func (*Result) GetINCRBYRes added in v1.0.5

func (x *Result) GetINCRBYRes() *INCRBYRes

func (*Result) GetINCRRes added in v1.0.5

func (x *Result) GetINCRRes() *INCRRes

func (*Result) GetKEYSRes added in v1.0.5

func (x *Result) GetKEYSRes() *KEYSRes

func (*Result) GetMessage added in v1.0.5

func (x *Result) GetMessage() string

func (*Result) GetPINGRes added in v1.0.5

func (x *Result) GetPINGRes() *PINGRes

func (*Result) GetResponse added in v1.0.5

func (x *Result) GetResponse() isResult_Response

func (*Result) GetSETRes added in v1.0.5

func (x *Result) GetSETRes() *SETRes

func (*Result) GetStatus added in v1.0.5

func (x *Result) GetStatus() Status

func (*Result) GetTTLRes added in v1.0.5

func (x *Result) GetTTLRes() *TTLRes

func (*Result) GetTYPERes added in v1.0.5

func (x *Result) GetTYPERes() *TYPERes

func (*Result) GetUNWATCHRes added in v1.0.5

func (x *Result) GetUNWATCHRes() *UNWATCHRes

func (*Result) GetZADDRes added in v1.0.5

func (x *Result) GetZADDRes() *ZADDRes

func (*Result) GetZCOUNTRes added in v1.0.5

func (x *Result) GetZCOUNTRes() *ZCOUNTRes

func (*Result) GetZRANGERes added in v1.0.5

func (x *Result) GetZRANGERes() *ZRANGERes

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

func (*Result) Reset added in v1.0.5

func (x *Result) Reset()

func (*Result) String added in v1.0.5

func (x *Result) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SETRes.ProtoReflect.Descriptor instead.

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

func (*SETRes) Reset added in v1.0.5

func (x *SETRes) Reset()

func (*SETRes) String added in v1.0.5

func (x *SETRes) String() string

type Status added in v1.0.5

type Status int32
const (
	Status_OK  Status = 0
	Status_ERR Status = 1
)

func (Status) Descriptor added in v1.0.5

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum added in v1.0.5

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated added in v1.0.5

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number added in v1.0.5

func (x Status) Number() protoreflect.EnumNumber

func (Status) String added in v1.0.5

func (x Status) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TTLRes.ProtoReflect.Descriptor instead.

func (*TTLRes) GetSeconds added in v1.0.5

func (x *TTLRes) GetSeconds() int64

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

func (*TTLRes) Reset added in v1.0.5

func (x *TTLRes) Reset()

func (*TTLRes) String added in v1.0.5

func (x *TTLRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TYPERes.ProtoReflect.Descriptor instead.

func (*TYPERes) GetType added in v1.0.5

func (x *TYPERes) GetType() string

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

func (*TYPERes) Reset added in v1.0.5

func (x *TYPERes) Reset()

func (*TYPERes) String added in v1.0.5

func (x *TYPERes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ZADDRes.ProtoReflect.Descriptor instead.

func (*ZADDRes) GetCount added in v1.0.5

func (x *ZADDRes) GetCount() int64

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

func (*ZADDRes) Reset added in v1.0.5

func (x *ZADDRes) Reset()

func (*ZADDRes) String added in v1.0.5

func (x *ZADDRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ZCOUNTRes.ProtoReflect.Descriptor instead.

func (*ZCOUNTRes) GetCount added in v1.0.5

func (x *ZCOUNTRes) GetCount() int64

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

func (*ZCOUNTRes) Reset added in v1.0.5

func (x *ZCOUNTRes) Reset()

func (*ZCOUNTRes) String added in v1.0.5

func (x *ZCOUNTRes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ZElement.ProtoReflect.Descriptor instead.

func (*ZElement) GetMember added in v1.0.5

func (x *ZElement) GetMember() string

func (*ZElement) GetScore added in v1.0.5

func (x *ZElement) GetScore() int64

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

func (*ZElement) Reset added in v1.0.5

func (x *ZElement) Reset()

func (*ZElement) String added in v1.0.5

func (x *ZElement) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ZRANGERes.ProtoReflect.Descriptor instead.

func (*ZRANGERes) GetElements added in v1.0.5

func (x *ZRANGERes) GetElements() []*ZElement

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

func (*ZRANGERes) Reset added in v1.0.5

func (x *ZRANGERes) Reset()

func (*ZRANGERes) String added in v1.0.5

func (x *ZRANGERes) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL