Documentation ¶
Index ¶
- Variables
- func RegisterGStringServiceServer(s grpc.ServiceRegistrar, srv GStringServiceServer)
- type AppendRequest
- func (*AppendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppendRequest) GetExpire() int64
- func (x *AppendRequest) GetKey() string
- func (x *AppendRequest) GetValue() string
- func (*AppendRequest) ProtoMessage()
- func (x *AppendRequest) ProtoReflect() protoreflect.Message
- func (x *AppendRequest) Reset()
- func (x *AppendRequest) String() string
- type AppendResponse
- type DecrByRequest
- func (*DecrByRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DecrByRequest) GetAmount() int32
- func (x *DecrByRequest) GetExpire() int64
- func (x *DecrByRequest) GetKey() string
- func (*DecrByRequest) ProtoMessage()
- func (x *DecrByRequest) ProtoReflect() protoreflect.Message
- func (x *DecrByRequest) Reset()
- func (x *DecrByRequest) String() string
- type DecrByResponse
- type DecrRequest
- type DecrResponse
- type DelRequest
- type DelResponse
- type ExistsRequest
- type ExistsResponse
- type ExpireRequest
- func (*ExpireRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpireRequest) GetExpire() int64
- func (x *ExpireRequest) GetKey() string
- func (*ExpireRequest) ProtoMessage()
- func (x *ExpireRequest) ProtoReflect() protoreflect.Message
- func (x *ExpireRequest) Reset()
- func (x *ExpireRequest) String() string
- type ExpireResponse
- type FlyDBOption
- func (*FlyDBOption) Descriptor() ([]byte, []int)deprecated
- func (x *FlyDBOption) GetDataFileSize() int64
- func (x *FlyDBOption) GetDirPath() string
- func (x *FlyDBOption) GetSyncWrite() bool
- func (*FlyDBOption) ProtoMessage()
- func (x *FlyDBOption) ProtoReflect() protoreflect.Message
- func (x *FlyDBOption) Reset()
- func (x *FlyDBOption) String() string
- type GStringServiceClient
- type GStringServiceServer
- type GetRequest
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetBoolValue() bool
- func (x *GetResponse) GetBytesValue() []byte
- func (x *GetResponse) GetFloat32Value() float32
- func (x *GetResponse) GetFloat64Value() float64
- func (x *GetResponse) GetInt32Value() int32
- func (x *GetResponse) GetInt64Value() int64
- func (x *GetResponse) GetStringValue() string
- func (m *GetResponse) GetValue() isGetResponse_Value
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type GetResponse_BoolValue
- type GetResponse_BytesValue
- type GetResponse_Float32Value
- type GetResponse_Float64Value
- type GetResponse_Int32Value
- type GetResponse_Int64Value
- type GetResponse_StringValue
- type GetSetRequest
- func (*GetSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSetRequest) GetBoolValue() bool
- func (x *GetSetRequest) GetBytesValue() []byte
- func (x *GetSetRequest) GetExpire() int64
- func (x *GetSetRequest) GetFloat32Value() float32
- func (x *GetSetRequest) GetFloat64Value() float64
- func (x *GetSetRequest) GetInt32Value() int32
- func (x *GetSetRequest) GetInt64Value() int64
- func (x *GetSetRequest) GetKey() string
- func (x *GetSetRequest) GetStringValue() string
- func (m *GetSetRequest) GetValue() isGetSetRequest_Value
- func (*GetSetRequest) ProtoMessage()
- func (x *GetSetRequest) ProtoReflect() protoreflect.Message
- func (x *GetSetRequest) Reset()
- func (x *GetSetRequest) String() string
- type GetSetRequest_BoolValue
- type GetSetRequest_BytesValue
- type GetSetRequest_Float32Value
- type GetSetRequest_Float64Value
- type GetSetRequest_Int32Value
- type GetSetRequest_Int64Value
- type GetSetRequest_StringValue
- type GetSetResponse
- func (*GetSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSetResponse) GetBoolValue() bool
- func (x *GetSetResponse) GetBytesValue() []byte
- func (x *GetSetResponse) GetFloat32Value() float32
- func (x *GetSetResponse) GetFloat64Value() float64
- func (x *GetSetResponse) GetInt32Value() int32
- func (x *GetSetResponse) GetInt64Value() int64
- func (x *GetSetResponse) GetStringValue() string
- func (m *GetSetResponse) GetValue() isGetSetResponse_Value
- func (*GetSetResponse) ProtoMessage()
- func (x *GetSetResponse) ProtoReflect() protoreflect.Message
- func (x *GetSetResponse) Reset()
- func (x *GetSetResponse) String() string
- type GetSetResponse_BoolValue
- type GetSetResponse_BytesValue
- type GetSetResponse_Float32Value
- type GetSetResponse_Float64Value
- type GetSetResponse_Int32Value
- type GetSetResponse_Int64Value
- type GetSetResponse_StringValue
- type IncrByFloatRequest
- func (*IncrByFloatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IncrByFloatRequest) GetAmount() float64
- func (x *IncrByFloatRequest) GetExpire() int64
- func (x *IncrByFloatRequest) GetKey() string
- func (*IncrByFloatRequest) ProtoMessage()
- func (x *IncrByFloatRequest) ProtoReflect() protoreflect.Message
- func (x *IncrByFloatRequest) Reset()
- func (x *IncrByFloatRequest) String() string
- type IncrByFloatResponse
- func (*IncrByFloatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IncrByFloatResponse) GetOk() bool
- func (*IncrByFloatResponse) ProtoMessage()
- func (x *IncrByFloatResponse) ProtoReflect() protoreflect.Message
- func (x *IncrByFloatResponse) Reset()
- func (x *IncrByFloatResponse) String() string
- type IncrByRequest
- func (*IncrByRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IncrByRequest) GetAmount() int32
- func (x *IncrByRequest) GetExpire() int64
- func (x *IncrByRequest) GetKey() string
- func (*IncrByRequest) ProtoMessage()
- func (x *IncrByRequest) ProtoReflect() protoreflect.Message
- func (x *IncrByRequest) Reset()
- func (x *IncrByRequest) String() string
- type IncrByResponse
- type IncrRequest
- type IncrResponse
- type KeysRequest
- type KeysResponse
- type MGetRequest
- type MGetResponse
- type MGetValue
- func (*MGetValue) Descriptor() ([]byte, []int)deprecated
- func (x *MGetValue) GetBoolValue() bool
- func (x *MGetValue) GetBytesValue() []byte
- func (x *MGetValue) GetFloat32Value() float32
- func (x *MGetValue) GetFloat64Value() float64
- func (x *MGetValue) GetInt32Value() int32
- func (x *MGetValue) GetInt64Value() int64
- func (x *MGetValue) GetStringValue() string
- func (m *MGetValue) GetValue() isMGetValue_Value
- func (*MGetValue) ProtoMessage()
- func (x *MGetValue) ProtoReflect() protoreflect.Message
- func (x *MGetValue) Reset()
- func (x *MGetValue) String() string
- type MGetValue_BoolValue
- type MGetValue_BytesValue
- type MGetValue_Float32Value
- type MGetValue_Float64Value
- type MGetValue_Int32Value
- type MGetValue_Int64Value
- type MGetValue_StringValue
- type MSetNXRequest
- type MSetNXRequest_KeyValue
- func (*MSetNXRequest_KeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *MSetNXRequest_KeyValue) GetBoolValue() bool
- func (x *MSetNXRequest_KeyValue) GetBytesValue() []byte
- func (x *MSetNXRequest_KeyValue) GetFloat32Value() float32
- func (x *MSetNXRequest_KeyValue) GetFloat64Value() float64
- func (x *MSetNXRequest_KeyValue) GetInt32Value() int32
- func (x *MSetNXRequest_KeyValue) GetInt64Value() int64
- func (x *MSetNXRequest_KeyValue) GetKey() string
- func (x *MSetNXRequest_KeyValue) GetStringValue() string
- func (m *MSetNXRequest_KeyValue) GetValue() isMSetNXRequest_KeyValue_Value
- func (*MSetNXRequest_KeyValue) ProtoMessage()
- func (x *MSetNXRequest_KeyValue) ProtoReflect() protoreflect.Message
- func (x *MSetNXRequest_KeyValue) Reset()
- func (x *MSetNXRequest_KeyValue) String() string
- type MSetNXRequest_KeyValue_BoolValue
- type MSetNXRequest_KeyValue_BytesValue
- type MSetNXRequest_KeyValue_Float32Value
- type MSetNXRequest_KeyValue_Float64Value
- type MSetNXRequest_KeyValue_Int32Value
- type MSetNXRequest_KeyValue_Int64Value
- type MSetNXRequest_KeyValue_StringValue
- type MSetNXResponse
- type MSetRequest
- type MSetRequest_KeyValue
- func (*MSetRequest_KeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *MSetRequest_KeyValue) GetBoolValue() bool
- func (x *MSetRequest_KeyValue) GetBytesValue() []byte
- func (x *MSetRequest_KeyValue) GetFloat32Value() float32
- func (x *MSetRequest_KeyValue) GetFloat64Value() float64
- func (x *MSetRequest_KeyValue) GetInt32Value() int32
- func (x *MSetRequest_KeyValue) GetInt64Value() int64
- func (x *MSetRequest_KeyValue) GetKey() string
- func (x *MSetRequest_KeyValue) GetStringValue() string
- func (m *MSetRequest_KeyValue) GetValue() isMSetRequest_KeyValue_Value
- func (*MSetRequest_KeyValue) ProtoMessage()
- func (x *MSetRequest_KeyValue) ProtoReflect() protoreflect.Message
- func (x *MSetRequest_KeyValue) Reset()
- func (x *MSetRequest_KeyValue) String() string
- type MSetRequest_KeyValue_BoolValue
- type MSetRequest_KeyValue_BytesValue
- type MSetRequest_KeyValue_Float32Value
- type MSetRequest_KeyValue_Float64Value
- type MSetRequest_KeyValue_Int32Value
- type MSetRequest_KeyValue_Int64Value
- type MSetRequest_KeyValue_StringValue
- type MSetResponse
- type NewFlyDBResponse
- type PersistRequest
- type PersistResponse
- type SetRequest
- func (*SetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetRequest) GetBoolValue() bool
- func (x *SetRequest) GetBytesValue() []byte
- func (x *SetRequest) GetExpire() int64
- func (x *SetRequest) GetFloat32Value() float32
- func (x *SetRequest) GetFloat64Value() float64
- func (x *SetRequest) GetInt32Value() int32
- func (x *SetRequest) GetInt64Value() int64
- func (x *SetRequest) GetKey() string
- func (x *SetRequest) GetStringValue() string
- func (m *SetRequest) GetValue() isSetRequest_Value
- func (*SetRequest) ProtoMessage()
- func (x *SetRequest) ProtoReflect() protoreflect.Message
- func (x *SetRequest) Reset()
- func (x *SetRequest) String() string
- type SetRequest_BoolValue
- type SetRequest_BytesValue
- type SetRequest_Float32Value
- type SetRequest_Float64Value
- type SetRequest_Int32Value
- type SetRequest_Int64Value
- type SetRequest_StringValue
- type SetResponse
- type SizeRequest
- type SizeResponse
- type StrLenRequest
- type StrLenResponse
- type TTLRequest
- type TTLResponse
- type TypeRequest
- type TypeResponse
- type UnimplementedGStringServiceServer
- func (UnimplementedGStringServiceServer) Append(context.Context, *AppendRequest) (*AppendResponse, error)
- func (UnimplementedGStringServiceServer) Decr(context.Context, *DecrRequest) (*DecrResponse, error)
- func (UnimplementedGStringServiceServer) DecrBy(context.Context, *DecrByRequest) (*DecrByResponse, error)
- func (UnimplementedGStringServiceServer) Del(context.Context, *DelRequest) (*DelResponse, error)
- func (UnimplementedGStringServiceServer) Exists(context.Context, *ExistsRequest) (*ExistsResponse, error)
- func (UnimplementedGStringServiceServer) Expire(context.Context, *ExpireRequest) (*ExpireResponse, error)
- func (UnimplementedGStringServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedGStringServiceServer) GetSet(context.Context, *GetSetRequest) (*GetSetResponse, error)
- func (UnimplementedGStringServiceServer) Incr(context.Context, *IncrRequest) (*IncrResponse, error)
- func (UnimplementedGStringServiceServer) IncrBy(context.Context, *IncrByRequest) (*IncrByResponse, error)
- func (UnimplementedGStringServiceServer) IncrByFloat(context.Context, *IncrByFloatRequest) (*IncrByFloatResponse, error)
- func (UnimplementedGStringServiceServer) Keys(context.Context, *KeysRequest) (*KeysResponse, error)
- func (UnimplementedGStringServiceServer) MGet(context.Context, *MGetRequest) (*MGetResponse, error)
- func (UnimplementedGStringServiceServer) MSet(context.Context, *MSetRequest) (*MSetResponse, error)
- func (UnimplementedGStringServiceServer) MSetNX(context.Context, *MSetNXRequest) (*MSetNXResponse, error)
- func (UnimplementedGStringServiceServer) NewFlyDBService(context.Context, *FlyDBOption) (*NewFlyDBResponse, error)
- func (UnimplementedGStringServiceServer) Persist(context.Context, *PersistRequest) (*PersistResponse, error)
- func (UnimplementedGStringServiceServer) Put(context.Context, *SetRequest) (*SetResponse, error)
- func (UnimplementedGStringServiceServer) Size(context.Context, *SizeRequest) (*SizeResponse, error)
- func (UnimplementedGStringServiceServer) StrLen(context.Context, *StrLenRequest) (*StrLenResponse, error)
- func (UnimplementedGStringServiceServer) TTL(context.Context, *TTLRequest) (*TTLResponse, error)
- func (UnimplementedGStringServiceServer) Type(context.Context, *TypeRequest) (*TypeResponse, error)
- type UnsafeGStringServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_lib_proto_gstring_db_proto protoreflect.FileDescriptor
var GStringService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gstring.GStringService", HandlerType: (*GStringServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "NewFlyDBService", Handler: _GStringService_NewFlyDBService_Handler, }, { MethodName: "Get", Handler: _GStringService_Get_Handler, }, { MethodName: "Put", Handler: _GStringService_Put_Handler, }, { MethodName: "Del", Handler: _GStringService_Del_Handler, }, { MethodName: "Type", Handler: _GStringService_Type_Handler, }, { MethodName: "StrLen", Handler: _GStringService_StrLen_Handler, }, { MethodName: "GetSet", Handler: _GStringService_GetSet_Handler, }, { MethodName: "Append", Handler: _GStringService_Append_Handler, }, { MethodName: "Incr", Handler: _GStringService_Incr_Handler, }, { MethodName: "IncrBy", Handler: _GStringService_IncrBy_Handler, }, { MethodName: "IncrByFloat", Handler: _GStringService_IncrByFloat_Handler, }, { MethodName: "Decr", Handler: _GStringService_Decr_Handler, }, { MethodName: "DecrBy", Handler: _GStringService_DecrBy_Handler, }, { MethodName: "Exists", Handler: _GStringService_Exists_Handler, }, { MethodName: "Expire", Handler: _GStringService_Expire_Handler, }, { MethodName: "Persist", Handler: _GStringService_Persist_Handler, }, { MethodName: "MGet", Handler: _GStringService_MGet_Handler, }, { MethodName: "MSet", Handler: _GStringService_MSet_Handler, }, { MethodName: "MSetNX", Handler: _GStringService_MSetNX_Handler, }, { MethodName: "TTL", Handler: _GStringService_TTL_Handler, }, { MethodName: "Keys", Handler: _GStringService_Keys_Handler, }, { MethodName: "Size", Handler: _GStringService_Size_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "lib/proto/gstring/db.proto", }
GStringService_ServiceDesc is the grpc.ServiceDesc for GStringService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGStringServiceServer ¶
func RegisterGStringServiceServer(s grpc.ServiceRegistrar, srv GStringServiceServer)
Types ¶
type AppendRequest ¶
type AppendRequest 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"` Expire int64 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*AppendRequest) Descriptor
deprecated
func (*AppendRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppendRequest.ProtoReflect.Descriptor instead.
func (*AppendRequest) GetExpire ¶
func (x *AppendRequest) GetExpire() int64
func (*AppendRequest) GetKey ¶
func (x *AppendRequest) GetKey() string
func (*AppendRequest) GetValue ¶
func (x *AppendRequest) GetValue() string
func (*AppendRequest) ProtoMessage ¶
func (*AppendRequest) ProtoMessage()
func (*AppendRequest) ProtoReflect ¶
func (x *AppendRequest) ProtoReflect() protoreflect.Message
func (*AppendRequest) Reset ¶
func (x *AppendRequest) Reset()
func (*AppendRequest) String ¶
func (x *AppendRequest) String() string
type AppendResponse ¶
type AppendResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*AppendResponse) Descriptor
deprecated
func (*AppendResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppendResponse.ProtoReflect.Descriptor instead.
func (*AppendResponse) GetOk ¶
func (x *AppendResponse) GetOk() bool
func (*AppendResponse) ProtoMessage ¶
func (*AppendResponse) ProtoMessage()
func (*AppendResponse) ProtoReflect ¶
func (x *AppendResponse) ProtoReflect() protoreflect.Message
func (*AppendResponse) Reset ¶
func (x *AppendResponse) Reset()
func (*AppendResponse) String ¶
func (x *AppendResponse) String() string
type DecrByRequest ¶
type DecrByRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Amount int32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Expire int64 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*DecrByRequest) Descriptor
deprecated
func (*DecrByRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecrByRequest.ProtoReflect.Descriptor instead.
func (*DecrByRequest) GetAmount ¶
func (x *DecrByRequest) GetAmount() int32
func (*DecrByRequest) GetExpire ¶
func (x *DecrByRequest) GetExpire() int64
func (*DecrByRequest) GetKey ¶
func (x *DecrByRequest) GetKey() string
func (*DecrByRequest) ProtoMessage ¶
func (*DecrByRequest) ProtoMessage()
func (*DecrByRequest) ProtoReflect ¶
func (x *DecrByRequest) ProtoReflect() protoreflect.Message
func (*DecrByRequest) Reset ¶
func (x *DecrByRequest) Reset()
func (*DecrByRequest) String ¶
func (x *DecrByRequest) String() string
type DecrByResponse ¶
type DecrByResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*DecrByResponse) Descriptor
deprecated
func (*DecrByResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecrByResponse.ProtoReflect.Descriptor instead.
func (*DecrByResponse) GetOk ¶
func (x *DecrByResponse) GetOk() bool
func (*DecrByResponse) ProtoMessage ¶
func (*DecrByResponse) ProtoMessage()
func (*DecrByResponse) ProtoReflect ¶
func (x *DecrByResponse) ProtoReflect() protoreflect.Message
func (*DecrByResponse) Reset ¶
func (x *DecrByResponse) Reset()
func (*DecrByResponse) String ¶
func (x *DecrByResponse) String() string
type DecrRequest ¶
type DecrRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Expire int64 `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*DecrRequest) Descriptor
deprecated
func (*DecrRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecrRequest.ProtoReflect.Descriptor instead.
func (*DecrRequest) GetExpire ¶
func (x *DecrRequest) GetExpire() int64
func (*DecrRequest) GetKey ¶
func (x *DecrRequest) GetKey() string
func (*DecrRequest) ProtoMessage ¶
func (*DecrRequest) ProtoMessage()
func (*DecrRequest) ProtoReflect ¶
func (x *DecrRequest) ProtoReflect() protoreflect.Message
func (*DecrRequest) Reset ¶
func (x *DecrRequest) Reset()
func (*DecrRequest) String ¶
func (x *DecrRequest) String() string
type DecrResponse ¶
type DecrResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*DecrResponse) Descriptor
deprecated
func (*DecrResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecrResponse.ProtoReflect.Descriptor instead.
func (*DecrResponse) GetOk ¶
func (x *DecrResponse) GetOk() bool
func (*DecrResponse) ProtoMessage ¶
func (*DecrResponse) ProtoMessage()
func (*DecrResponse) ProtoReflect ¶
func (x *DecrResponse) ProtoReflect() protoreflect.Message
func (*DecrResponse) Reset ¶
func (x *DecrResponse) Reset()
func (*DecrResponse) String ¶
func (x *DecrResponse) String() string
type DelRequest ¶
type DelRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DelRequest) Descriptor
deprecated
func (*DelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DelRequest.ProtoReflect.Descriptor instead.
func (*DelRequest) GetKey ¶
func (x *DelRequest) GetKey() string
func (*DelRequest) ProtoMessage ¶
func (*DelRequest) ProtoMessage()
func (*DelRequest) ProtoReflect ¶
func (x *DelRequest) ProtoReflect() protoreflect.Message
func (*DelRequest) Reset ¶
func (x *DelRequest) Reset()
func (*DelRequest) String ¶
func (x *DelRequest) String() string
type DelResponse ¶
type DelResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*DelResponse) Descriptor
deprecated
func (*DelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DelResponse.ProtoReflect.Descriptor instead.
func (*DelResponse) GetOk ¶
func (x *DelResponse) GetOk() bool
func (*DelResponse) ProtoMessage ¶
func (*DelResponse) ProtoMessage()
func (*DelResponse) ProtoReflect ¶
func (x *DelResponse) ProtoReflect() protoreflect.Message
func (*DelResponse) Reset ¶
func (x *DelResponse) Reset()
func (*DelResponse) String ¶
func (x *DelResponse) String() string
type ExistsRequest ¶
type ExistsRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ExistsRequest) Descriptor
deprecated
func (*ExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExistsRequest.ProtoReflect.Descriptor instead.
func (*ExistsRequest) GetKey ¶
func (x *ExistsRequest) GetKey() string
func (*ExistsRequest) ProtoMessage ¶
func (*ExistsRequest) ProtoMessage()
func (*ExistsRequest) ProtoReflect ¶
func (x *ExistsRequest) ProtoReflect() protoreflect.Message
func (*ExistsRequest) Reset ¶
func (x *ExistsRequest) Reset()
func (*ExistsRequest) String ¶
func (x *ExistsRequest) String() string
type ExistsResponse ¶
type ExistsResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*ExistsResponse) Descriptor
deprecated
func (*ExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExistsResponse.ProtoReflect.Descriptor instead.
func (*ExistsResponse) GetExists ¶
func (x *ExistsResponse) GetExists() bool
func (*ExistsResponse) ProtoMessage ¶
func (*ExistsResponse) ProtoMessage()
func (*ExistsResponse) ProtoReflect ¶
func (x *ExistsResponse) ProtoReflect() protoreflect.Message
func (*ExistsResponse) Reset ¶
func (x *ExistsResponse) Reset()
func (*ExistsResponse) String ¶
func (x *ExistsResponse) String() string
type ExpireRequest ¶
type ExpireRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Expire int64 `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*ExpireRequest) Descriptor
deprecated
func (*ExpireRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpireRequest.ProtoReflect.Descriptor instead.
func (*ExpireRequest) GetExpire ¶
func (x *ExpireRequest) GetExpire() int64
func (*ExpireRequest) GetKey ¶
func (x *ExpireRequest) GetKey() string
func (*ExpireRequest) ProtoMessage ¶
func (*ExpireRequest) ProtoMessage()
func (*ExpireRequest) ProtoReflect ¶
func (x *ExpireRequest) ProtoReflect() protoreflect.Message
func (*ExpireRequest) Reset ¶
func (x *ExpireRequest) Reset()
func (*ExpireRequest) String ¶
func (x *ExpireRequest) String() string
type ExpireResponse ¶
type ExpireResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*ExpireResponse) Descriptor
deprecated
func (*ExpireResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpireResponse.ProtoReflect.Descriptor instead.
func (*ExpireResponse) GetOk ¶
func (x *ExpireResponse) GetOk() bool
func (*ExpireResponse) ProtoMessage ¶
func (*ExpireResponse) ProtoMessage()
func (*ExpireResponse) ProtoReflect ¶
func (x *ExpireResponse) ProtoReflect() protoreflect.Message
func (*ExpireResponse) Reset ¶
func (x *ExpireResponse) Reset()
func (*ExpireResponse) String ¶
func (x *ExpireResponse) String() string
type FlyDBOption ¶
type FlyDBOption struct { DirPath string `protobuf:"bytes,1,opt,name=DirPath,proto3" json:"DirPath,omitempty"` DataFileSize int64 `protobuf:"varint,2,opt,name=DataFileSize,proto3" json:"DataFileSize,omitempty"` SyncWrite bool `protobuf:"varint,3,opt,name=SyncWrite,proto3" json:"SyncWrite,omitempty"` // contains filtered or unexported fields }
func (*FlyDBOption) Descriptor
deprecated
func (*FlyDBOption) Descriptor() ([]byte, []int)
Deprecated: Use FlyDBOption.ProtoReflect.Descriptor instead.
func (*FlyDBOption) GetDataFileSize ¶
func (x *FlyDBOption) GetDataFileSize() int64
func (*FlyDBOption) GetDirPath ¶
func (x *FlyDBOption) GetDirPath() string
func (*FlyDBOption) GetSyncWrite ¶
func (x *FlyDBOption) GetSyncWrite() bool
func (*FlyDBOption) ProtoMessage ¶
func (*FlyDBOption) ProtoMessage()
func (*FlyDBOption) ProtoReflect ¶
func (x *FlyDBOption) ProtoReflect() protoreflect.Message
func (*FlyDBOption) Reset ¶
func (x *FlyDBOption) Reset()
func (*FlyDBOption) String ¶
func (x *FlyDBOption) String() string
type GStringServiceClient ¶
type GStringServiceClient interface { NewFlyDBService(ctx context.Context, in *FlyDBOption, opts ...grpc.CallOption) (*NewFlyDBResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) Put(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error) Del(ctx context.Context, in *DelRequest, opts ...grpc.CallOption) (*DelResponse, error) Type(ctx context.Context, in *TypeRequest, opts ...grpc.CallOption) (*TypeResponse, error) StrLen(ctx context.Context, in *StrLenRequest, opts ...grpc.CallOption) (*StrLenResponse, error) GetSet(ctx context.Context, in *GetSetRequest, opts ...grpc.CallOption) (*GetSetResponse, error) Append(ctx context.Context, in *AppendRequest, opts ...grpc.CallOption) (*AppendResponse, error) Incr(ctx context.Context, in *IncrRequest, opts ...grpc.CallOption) (*IncrResponse, error) IncrBy(ctx context.Context, in *IncrByRequest, opts ...grpc.CallOption) (*IncrByResponse, error) IncrByFloat(ctx context.Context, in *IncrByFloatRequest, opts ...grpc.CallOption) (*IncrByFloatResponse, error) Decr(ctx context.Context, in *DecrRequest, opts ...grpc.CallOption) (*DecrResponse, error) DecrBy(ctx context.Context, in *DecrByRequest, opts ...grpc.CallOption) (*DecrByResponse, error) Exists(ctx context.Context, in *ExistsRequest, opts ...grpc.CallOption) (*ExistsResponse, error) Expire(ctx context.Context, in *ExpireRequest, opts ...grpc.CallOption) (*ExpireResponse, error) Persist(ctx context.Context, in *PersistRequest, opts ...grpc.CallOption) (*PersistResponse, error) MGet(ctx context.Context, in *MGetRequest, opts ...grpc.CallOption) (*MGetResponse, error) MSet(ctx context.Context, in *MSetRequest, opts ...grpc.CallOption) (*MSetResponse, error) MSetNX(ctx context.Context, in *MSetNXRequest, opts ...grpc.CallOption) (*MSetNXResponse, error) TTL(ctx context.Context, in *TTLRequest, opts ...grpc.CallOption) (*TTLResponse, error) Keys(ctx context.Context, in *KeysRequest, opts ...grpc.CallOption) (*KeysResponse, error) Size(ctx context.Context, in *SizeRequest, opts ...grpc.CallOption) (*SizeResponse, error) }
GStringServiceClient is the client API for GStringService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGStringServiceClient ¶
func NewGStringServiceClient(cc grpc.ClientConnInterface) GStringServiceClient
type GStringServiceServer ¶
type GStringServiceServer interface { NewFlyDBService(context.Context, *FlyDBOption) (*NewFlyDBResponse, error) Get(context.Context, *GetRequest) (*GetResponse, error) Put(context.Context, *SetRequest) (*SetResponse, error) Del(context.Context, *DelRequest) (*DelResponse, error) Type(context.Context, *TypeRequest) (*TypeResponse, error) StrLen(context.Context, *StrLenRequest) (*StrLenResponse, error) GetSet(context.Context, *GetSetRequest) (*GetSetResponse, error) Append(context.Context, *AppendRequest) (*AppendResponse, error) Incr(context.Context, *IncrRequest) (*IncrResponse, error) IncrBy(context.Context, *IncrByRequest) (*IncrByResponse, error) IncrByFloat(context.Context, *IncrByFloatRequest) (*IncrByFloatResponse, error) Decr(context.Context, *DecrRequest) (*DecrResponse, error) DecrBy(context.Context, *DecrByRequest) (*DecrByResponse, error) Exists(context.Context, *ExistsRequest) (*ExistsResponse, error) Expire(context.Context, *ExpireRequest) (*ExpireResponse, error) Persist(context.Context, *PersistRequest) (*PersistResponse, error) MGet(context.Context, *MGetRequest) (*MGetResponse, error) MSet(context.Context, *MSetRequest) (*MSetResponse, error) MSetNX(context.Context, *MSetNXRequest) (*MSetNXResponse, error) TTL(context.Context, *TTLRequest) (*TTLResponse, error) Keys(context.Context, *KeysRequest) (*KeysResponse, error) Size(context.Context, *SizeRequest) (*SizeResponse, error) // contains filtered or unexported methods }
GStringServiceServer is the server API for GStringService service. All implementations must embed UnimplementedGStringServiceServer for forward compatibility
type GetRequest ¶
type GetRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetKey ¶
func (x *GetRequest) GetKey() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { // Types that are assignable to Value: // // *GetResponse_StringValue // *GetResponse_Int32Value // *GetResponse_Int64Value // *GetResponse_Float32Value // *GetResponse_Float64Value // *GetResponse_BoolValue // *GetResponse_BytesValue Value isGetResponse_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetBoolValue ¶
func (x *GetResponse) GetBoolValue() bool
func (*GetResponse) GetBytesValue ¶
func (x *GetResponse) GetBytesValue() []byte
func (*GetResponse) GetFloat32Value ¶
func (x *GetResponse) GetFloat32Value() float32
func (*GetResponse) GetFloat64Value ¶
func (x *GetResponse) GetFloat64Value() float64
func (*GetResponse) GetInt32Value ¶
func (x *GetResponse) GetInt32Value() int32
func (*GetResponse) GetInt64Value ¶
func (x *GetResponse) GetInt64Value() int64
func (*GetResponse) GetStringValue ¶
func (x *GetResponse) GetStringValue() string
func (*GetResponse) GetValue ¶
func (m *GetResponse) GetValue() isGetResponse_Value
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GetResponse_BoolValue ¶
type GetResponse_BoolValue struct {
BoolValue bool `protobuf:"varint,6,opt,name=BoolValue,proto3,oneof"`
}
type GetResponse_BytesValue ¶
type GetResponse_BytesValue struct {
BytesValue []byte `protobuf:"bytes,7,opt,name=BytesValue,proto3,oneof"`
}
type GetResponse_Float32Value ¶
type GetResponse_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,4,opt,name=Float32Value,proto3,oneof"`
}
type GetResponse_Float64Value ¶
type GetResponse_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,5,opt,name=Float64Value,proto3,oneof"`
}
type GetResponse_Int32Value ¶
type GetResponse_Int32Value struct {
Int32Value int32 `protobuf:"varint,2,opt,name=Int32Value,proto3,oneof"`
}
type GetResponse_Int64Value ¶
type GetResponse_Int64Value struct {
Int64Value int64 `protobuf:"varint,3,opt,name=Int64Value,proto3,oneof"`
}
type GetResponse_StringValue ¶
type GetResponse_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=StringValue,proto3,oneof"`
}
type GetSetRequest ¶
type GetSetRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Value: // // *GetSetRequest_StringValue // *GetSetRequest_Int32Value // *GetSetRequest_Int64Value // *GetSetRequest_Float32Value // *GetSetRequest_Float64Value // *GetSetRequest_BoolValue // *GetSetRequest_BytesValue Value isGetSetRequest_Value `protobuf_oneof:"value"` Expire int64 `protobuf:"varint,9,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*GetSetRequest) Descriptor
deprecated
func (*GetSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSetRequest.ProtoReflect.Descriptor instead.
func (*GetSetRequest) GetBoolValue ¶
func (x *GetSetRequest) GetBoolValue() bool
func (*GetSetRequest) GetBytesValue ¶
func (x *GetSetRequest) GetBytesValue() []byte
func (*GetSetRequest) GetExpire ¶
func (x *GetSetRequest) GetExpire() int64
func (*GetSetRequest) GetFloat32Value ¶
func (x *GetSetRequest) GetFloat32Value() float32
func (*GetSetRequest) GetFloat64Value ¶
func (x *GetSetRequest) GetFloat64Value() float64
func (*GetSetRequest) GetInt32Value ¶
func (x *GetSetRequest) GetInt32Value() int32
func (*GetSetRequest) GetInt64Value ¶
func (x *GetSetRequest) GetInt64Value() int64
func (*GetSetRequest) GetKey ¶
func (x *GetSetRequest) GetKey() string
func (*GetSetRequest) GetStringValue ¶
func (x *GetSetRequest) GetStringValue() string
func (*GetSetRequest) GetValue ¶
func (m *GetSetRequest) GetValue() isGetSetRequest_Value
func (*GetSetRequest) ProtoMessage ¶
func (*GetSetRequest) ProtoMessage()
func (*GetSetRequest) ProtoReflect ¶
func (x *GetSetRequest) ProtoReflect() protoreflect.Message
func (*GetSetRequest) Reset ¶
func (x *GetSetRequest) Reset()
func (*GetSetRequest) String ¶
func (x *GetSetRequest) String() string
type GetSetRequest_BoolValue ¶
type GetSetRequest_BoolValue struct {
BoolValue bool `protobuf:"varint,7,opt,name=BoolValue,proto3,oneof"`
}
type GetSetRequest_BytesValue ¶
type GetSetRequest_BytesValue struct {
BytesValue []byte `protobuf:"bytes,8,opt,name=BytesValue,proto3,oneof"`
}
type GetSetRequest_Float32Value ¶
type GetSetRequest_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,5,opt,name=Float32Value,proto3,oneof"`
}
type GetSetRequest_Float64Value ¶
type GetSetRequest_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,6,opt,name=Float64Value,proto3,oneof"`
}
type GetSetRequest_Int32Value ¶
type GetSetRequest_Int32Value struct {
Int32Value int32 `protobuf:"varint,3,opt,name=Int32Value,proto3,oneof"`
}
type GetSetRequest_Int64Value ¶
type GetSetRequest_Int64Value struct {
Int64Value int64 `protobuf:"varint,4,opt,name=Int64Value,proto3,oneof"`
}
type GetSetRequest_StringValue ¶
type GetSetRequest_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=StringValue,proto3,oneof"`
}
type GetSetResponse ¶
type GetSetResponse struct { // Types that are assignable to Value: // // *GetSetResponse_StringValue // *GetSetResponse_Int32Value // *GetSetResponse_Int64Value // *GetSetResponse_Float32Value // *GetSetResponse_Float64Value // *GetSetResponse_BoolValue // *GetSetResponse_BytesValue Value isGetSetResponse_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*GetSetResponse) Descriptor
deprecated
func (*GetSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSetResponse.ProtoReflect.Descriptor instead.
func (*GetSetResponse) GetBoolValue ¶
func (x *GetSetResponse) GetBoolValue() bool
func (*GetSetResponse) GetBytesValue ¶
func (x *GetSetResponse) GetBytesValue() []byte
func (*GetSetResponse) GetFloat32Value ¶
func (x *GetSetResponse) GetFloat32Value() float32
func (*GetSetResponse) GetFloat64Value ¶
func (x *GetSetResponse) GetFloat64Value() float64
func (*GetSetResponse) GetInt32Value ¶
func (x *GetSetResponse) GetInt32Value() int32
func (*GetSetResponse) GetInt64Value ¶
func (x *GetSetResponse) GetInt64Value() int64
func (*GetSetResponse) GetStringValue ¶
func (x *GetSetResponse) GetStringValue() string
func (*GetSetResponse) GetValue ¶
func (m *GetSetResponse) GetValue() isGetSetResponse_Value
func (*GetSetResponse) ProtoMessage ¶
func (*GetSetResponse) ProtoMessage()
func (*GetSetResponse) ProtoReflect ¶
func (x *GetSetResponse) ProtoReflect() protoreflect.Message
func (*GetSetResponse) Reset ¶
func (x *GetSetResponse) Reset()
func (*GetSetResponse) String ¶
func (x *GetSetResponse) String() string
type GetSetResponse_BoolValue ¶
type GetSetResponse_BoolValue struct {
BoolValue bool `protobuf:"varint,6,opt,name=BoolValue,proto3,oneof"`
}
type GetSetResponse_BytesValue ¶
type GetSetResponse_BytesValue struct {
BytesValue []byte `protobuf:"bytes,7,opt,name=BytesValue,proto3,oneof"`
}
type GetSetResponse_Float32Value ¶
type GetSetResponse_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,4,opt,name=Float32Value,proto3,oneof"`
}
type GetSetResponse_Float64Value ¶
type GetSetResponse_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,5,opt,name=Float64Value,proto3,oneof"`
}
type GetSetResponse_Int32Value ¶
type GetSetResponse_Int32Value struct {
Int32Value int32 `protobuf:"varint,2,opt,name=Int32Value,proto3,oneof"`
}
type GetSetResponse_Int64Value ¶
type GetSetResponse_Int64Value struct {
Int64Value int64 `protobuf:"varint,3,opt,name=Int64Value,proto3,oneof"`
}
type GetSetResponse_StringValue ¶
type GetSetResponse_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=StringValue,proto3,oneof"`
}
type IncrByFloatRequest ¶
type IncrByFloatRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` Expire int64 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*IncrByFloatRequest) Descriptor
deprecated
func (*IncrByFloatRequest) Descriptor() ([]byte, []int)
Deprecated: Use IncrByFloatRequest.ProtoReflect.Descriptor instead.
func (*IncrByFloatRequest) GetAmount ¶
func (x *IncrByFloatRequest) GetAmount() float64
func (*IncrByFloatRequest) GetExpire ¶
func (x *IncrByFloatRequest) GetExpire() int64
func (*IncrByFloatRequest) GetKey ¶
func (x *IncrByFloatRequest) GetKey() string
func (*IncrByFloatRequest) ProtoMessage ¶
func (*IncrByFloatRequest) ProtoMessage()
func (*IncrByFloatRequest) ProtoReflect ¶
func (x *IncrByFloatRequest) ProtoReflect() protoreflect.Message
func (*IncrByFloatRequest) Reset ¶
func (x *IncrByFloatRequest) Reset()
func (*IncrByFloatRequest) String ¶
func (x *IncrByFloatRequest) String() string
type IncrByFloatResponse ¶
type IncrByFloatResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*IncrByFloatResponse) Descriptor
deprecated
func (*IncrByFloatResponse) Descriptor() ([]byte, []int)
Deprecated: Use IncrByFloatResponse.ProtoReflect.Descriptor instead.
func (*IncrByFloatResponse) GetOk ¶
func (x *IncrByFloatResponse) GetOk() bool
func (*IncrByFloatResponse) ProtoMessage ¶
func (*IncrByFloatResponse) ProtoMessage()
func (*IncrByFloatResponse) ProtoReflect ¶
func (x *IncrByFloatResponse) ProtoReflect() protoreflect.Message
func (*IncrByFloatResponse) Reset ¶
func (x *IncrByFloatResponse) Reset()
func (*IncrByFloatResponse) String ¶
func (x *IncrByFloatResponse) String() string
type IncrByRequest ¶
type IncrByRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Amount int32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Expire int64 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*IncrByRequest) Descriptor
deprecated
func (*IncrByRequest) Descriptor() ([]byte, []int)
Deprecated: Use IncrByRequest.ProtoReflect.Descriptor instead.
func (*IncrByRequest) GetAmount ¶
func (x *IncrByRequest) GetAmount() int32
func (*IncrByRequest) GetExpire ¶
func (x *IncrByRequest) GetExpire() int64
func (*IncrByRequest) GetKey ¶
func (x *IncrByRequest) GetKey() string
func (*IncrByRequest) ProtoMessage ¶
func (*IncrByRequest) ProtoMessage()
func (*IncrByRequest) ProtoReflect ¶
func (x *IncrByRequest) ProtoReflect() protoreflect.Message
func (*IncrByRequest) Reset ¶
func (x *IncrByRequest) Reset()
func (*IncrByRequest) String ¶
func (x *IncrByRequest) String() string
type IncrByResponse ¶
type IncrByResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*IncrByResponse) Descriptor
deprecated
func (*IncrByResponse) Descriptor() ([]byte, []int)
Deprecated: Use IncrByResponse.ProtoReflect.Descriptor instead.
func (*IncrByResponse) GetOk ¶
func (x *IncrByResponse) GetOk() bool
func (*IncrByResponse) ProtoMessage ¶
func (*IncrByResponse) ProtoMessage()
func (*IncrByResponse) ProtoReflect ¶
func (x *IncrByResponse) ProtoReflect() protoreflect.Message
func (*IncrByResponse) Reset ¶
func (x *IncrByResponse) Reset()
func (*IncrByResponse) String ¶
func (x *IncrByResponse) String() string
type IncrRequest ¶
type IncrRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Expire int64 `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*IncrRequest) Descriptor
deprecated
func (*IncrRequest) Descriptor() ([]byte, []int)
Deprecated: Use IncrRequest.ProtoReflect.Descriptor instead.
func (*IncrRequest) GetExpire ¶
func (x *IncrRequest) GetExpire() int64
func (*IncrRequest) GetKey ¶
func (x *IncrRequest) GetKey() string
func (*IncrRequest) ProtoMessage ¶
func (*IncrRequest) ProtoMessage()
func (*IncrRequest) ProtoReflect ¶
func (x *IncrRequest) ProtoReflect() protoreflect.Message
func (*IncrRequest) Reset ¶
func (x *IncrRequest) Reset()
func (*IncrRequest) String ¶
func (x *IncrRequest) String() string
type IncrResponse ¶
type IncrResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*IncrResponse) Descriptor
deprecated
func (*IncrResponse) Descriptor() ([]byte, []int)
Deprecated: Use IncrResponse.ProtoReflect.Descriptor instead.
func (*IncrResponse) GetOk ¶
func (x *IncrResponse) GetOk() bool
func (*IncrResponse) ProtoMessage ¶
func (*IncrResponse) ProtoMessage()
func (*IncrResponse) ProtoReflect ¶
func (x *IncrResponse) ProtoReflect() protoreflect.Message
func (*IncrResponse) Reset ¶
func (x *IncrResponse) Reset()
func (*IncrResponse) String ¶
func (x *IncrResponse) String() string
type KeysRequest ¶ added in v1.0.14
type KeysRequest struct { Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` // contains filtered or unexported fields }
func (*KeysRequest) Descriptor
deprecated
added in
v1.0.14
func (*KeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysRequest.ProtoReflect.Descriptor instead.
func (*KeysRequest) GetPattern ¶ added in v1.0.14
func (x *KeysRequest) GetPattern() string
func (*KeysRequest) ProtoMessage ¶ added in v1.0.14
func (*KeysRequest) ProtoMessage()
func (*KeysRequest) ProtoReflect ¶ added in v1.0.14
func (x *KeysRequest) ProtoReflect() protoreflect.Message
func (*KeysRequest) Reset ¶ added in v1.0.14
func (x *KeysRequest) Reset()
func (*KeysRequest) String ¶ added in v1.0.14
func (x *KeysRequest) String() string
type KeysResponse ¶ added in v1.0.14
type KeysResponse struct {
// contains filtered or unexported fields
}
func (*KeysResponse) Descriptor
deprecated
added in
v1.0.14
func (*KeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysResponse.ProtoReflect.Descriptor instead.
func (*KeysResponse) ProtoMessage ¶ added in v1.0.14
func (*KeysResponse) ProtoMessage()
func (*KeysResponse) ProtoReflect ¶ added in v1.0.14
func (x *KeysResponse) ProtoReflect() protoreflect.Message
func (*KeysResponse) Reset ¶ added in v1.0.14
func (x *KeysResponse) Reset()
func (*KeysResponse) String ¶ added in v1.0.14
func (x *KeysResponse) String() string
type MGetRequest ¶
type MGetRequest struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*MGetRequest) Descriptor
deprecated
func (*MGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use MGetRequest.ProtoReflect.Descriptor instead.
func (*MGetRequest) GetKeys ¶
func (x *MGetRequest) GetKeys() []string
func (*MGetRequest) ProtoMessage ¶
func (*MGetRequest) ProtoMessage()
func (*MGetRequest) ProtoReflect ¶
func (x *MGetRequest) ProtoReflect() protoreflect.Message
func (*MGetRequest) Reset ¶
func (x *MGetRequest) Reset()
func (*MGetRequest) String ¶
func (x *MGetRequest) String() string
type MGetResponse ¶
type MGetResponse struct { Values []*MGetValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*MGetResponse) Descriptor
deprecated
func (*MGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use MGetResponse.ProtoReflect.Descriptor instead.
func (*MGetResponse) GetValues ¶
func (x *MGetResponse) GetValues() []*MGetValue
func (*MGetResponse) ProtoMessage ¶
func (*MGetResponse) ProtoMessage()
func (*MGetResponse) ProtoReflect ¶
func (x *MGetResponse) ProtoReflect() protoreflect.Message
func (*MGetResponse) Reset ¶
func (x *MGetResponse) Reset()
func (*MGetResponse) String ¶
func (x *MGetResponse) String() string
type MGetValue ¶
type MGetValue struct { // Types that are assignable to Value: // // *MGetValue_StringValue // *MGetValue_Int32Value // *MGetValue_Int64Value // *MGetValue_Float32Value // *MGetValue_Float64Value // *MGetValue_BoolValue // *MGetValue_BytesValue Value isMGetValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*MGetValue) Descriptor
deprecated
func (*MGetValue) GetBoolValue ¶
func (*MGetValue) GetBytesValue ¶
func (*MGetValue) GetFloat32Value ¶
func (*MGetValue) GetFloat64Value ¶
func (*MGetValue) GetInt32Value ¶
func (*MGetValue) GetInt64Value ¶
func (*MGetValue) GetStringValue ¶
func (*MGetValue) ProtoMessage ¶
func (*MGetValue) ProtoMessage()
func (*MGetValue) ProtoReflect ¶
func (x *MGetValue) ProtoReflect() protoreflect.Message
type MGetValue_BoolValue ¶
type MGetValue_BoolValue struct {
BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type MGetValue_BytesValue ¶
type MGetValue_BytesValue struct {
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type MGetValue_Float32Value ¶
type MGetValue_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,4,opt,name=float32_value,json=float32Value,proto3,oneof"`
}
type MGetValue_Float64Value ¶
type MGetValue_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,5,opt,name=float64_value,json=float64Value,proto3,oneof"`
}
type MGetValue_Int32Value ¶
type MGetValue_Int32Value struct {
Int32Value int32 `protobuf:"varint,2,opt,name=int32_value,json=int32Value,proto3,oneof"`
}
type MGetValue_Int64Value ¶
type MGetValue_Int64Value struct {
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type MGetValue_StringValue ¶
type MGetValue_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type MSetNXRequest ¶ added in v1.0.11
type MSetNXRequest struct { Pairs []*MSetNXRequest_KeyValue `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` // contains filtered or unexported fields }
func (*MSetNXRequest) Descriptor
deprecated
added in
v1.0.11
func (*MSetNXRequest) Descriptor() ([]byte, []int)
Deprecated: Use MSetNXRequest.ProtoReflect.Descriptor instead.
func (*MSetNXRequest) GetPairs ¶ added in v1.0.11
func (x *MSetNXRequest) GetPairs() []*MSetNXRequest_KeyValue
func (*MSetNXRequest) ProtoMessage ¶ added in v1.0.11
func (*MSetNXRequest) ProtoMessage()
func (*MSetNXRequest) ProtoReflect ¶ added in v1.0.11
func (x *MSetNXRequest) ProtoReflect() protoreflect.Message
func (*MSetNXRequest) Reset ¶ added in v1.0.11
func (x *MSetNXRequest) Reset()
func (*MSetNXRequest) String ¶ added in v1.0.11
func (x *MSetNXRequest) String() string
type MSetNXRequest_KeyValue ¶ added in v1.0.11
type MSetNXRequest_KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Value: // // *MSetNXRequest_KeyValue_StringValue // *MSetNXRequest_KeyValue_Int32Value // *MSetNXRequest_KeyValue_Int64Value // *MSetNXRequest_KeyValue_Float32Value // *MSetNXRequest_KeyValue_Float64Value // *MSetNXRequest_KeyValue_BoolValue // *MSetNXRequest_KeyValue_BytesValue Value isMSetNXRequest_KeyValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*MSetNXRequest_KeyValue) Descriptor
deprecated
added in
v1.0.11
func (*MSetNXRequest_KeyValue) Descriptor() ([]byte, []int)
Deprecated: Use MSetNXRequest_KeyValue.ProtoReflect.Descriptor instead.
func (*MSetNXRequest_KeyValue) GetBoolValue ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) GetBoolValue() bool
func (*MSetNXRequest_KeyValue) GetBytesValue ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) GetBytesValue() []byte
func (*MSetNXRequest_KeyValue) GetFloat32Value ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) GetFloat32Value() float32
func (*MSetNXRequest_KeyValue) GetFloat64Value ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) GetFloat64Value() float64
func (*MSetNXRequest_KeyValue) GetInt32Value ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) GetInt32Value() int32
func (*MSetNXRequest_KeyValue) GetInt64Value ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) GetInt64Value() int64
func (*MSetNXRequest_KeyValue) GetKey ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) GetKey() string
func (*MSetNXRequest_KeyValue) GetStringValue ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) GetStringValue() string
func (*MSetNXRequest_KeyValue) GetValue ¶ added in v1.0.11
func (m *MSetNXRequest_KeyValue) GetValue() isMSetNXRequest_KeyValue_Value
func (*MSetNXRequest_KeyValue) ProtoMessage ¶ added in v1.0.11
func (*MSetNXRequest_KeyValue) ProtoMessage()
func (*MSetNXRequest_KeyValue) ProtoReflect ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) ProtoReflect() protoreflect.Message
func (*MSetNXRequest_KeyValue) Reset ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) Reset()
func (*MSetNXRequest_KeyValue) String ¶ added in v1.0.11
func (x *MSetNXRequest_KeyValue) String() string
type MSetNXRequest_KeyValue_BoolValue ¶ added in v1.0.11
type MSetNXRequest_KeyValue_BoolValue struct {
BoolValue bool `protobuf:"varint,7,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type MSetNXRequest_KeyValue_BytesValue ¶ added in v1.0.11
type MSetNXRequest_KeyValue_BytesValue struct {
BytesValue []byte `protobuf:"bytes,8,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type MSetNXRequest_KeyValue_Float32Value ¶ added in v1.0.11
type MSetNXRequest_KeyValue_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,5,opt,name=float32_value,json=float32Value,proto3,oneof"`
}
type MSetNXRequest_KeyValue_Float64Value ¶ added in v1.0.11
type MSetNXRequest_KeyValue_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,6,opt,name=float64_value,json=float64Value,proto3,oneof"`
}
type MSetNXRequest_KeyValue_Int32Value ¶ added in v1.0.11
type MSetNXRequest_KeyValue_Int32Value struct {
Int32Value int32 `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3,oneof"`
}
type MSetNXRequest_KeyValue_Int64Value ¶ added in v1.0.11
type MSetNXRequest_KeyValue_Int64Value struct {
Int64Value int64 `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type MSetNXRequest_KeyValue_StringValue ¶ added in v1.0.11
type MSetNXRequest_KeyValue_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type MSetNXResponse ¶ added in v1.0.11
type MSetNXResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*MSetNXResponse) Descriptor
deprecated
added in
v1.0.11
func (*MSetNXResponse) Descriptor() ([]byte, []int)
Deprecated: Use MSetNXResponse.ProtoReflect.Descriptor instead.
func (*MSetNXResponse) GetSuccess ¶ added in v1.0.11
func (x *MSetNXResponse) GetSuccess() bool
func (*MSetNXResponse) ProtoMessage ¶ added in v1.0.11
func (*MSetNXResponse) ProtoMessage()
func (*MSetNXResponse) ProtoReflect ¶ added in v1.0.11
func (x *MSetNXResponse) ProtoReflect() protoreflect.Message
func (*MSetNXResponse) Reset ¶ added in v1.0.11
func (x *MSetNXResponse) Reset()
func (*MSetNXResponse) String ¶ added in v1.0.11
func (x *MSetNXResponse) String() string
type MSetRequest ¶ added in v1.0.11
type MSetRequest struct { Pairs []*MSetRequest_KeyValue `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` // contains filtered or unexported fields }
func (*MSetRequest) Descriptor
deprecated
added in
v1.0.11
func (*MSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use MSetRequest.ProtoReflect.Descriptor instead.
func (*MSetRequest) GetPairs ¶ added in v1.0.11
func (x *MSetRequest) GetPairs() []*MSetRequest_KeyValue
func (*MSetRequest) ProtoMessage ¶ added in v1.0.11
func (*MSetRequest) ProtoMessage()
func (*MSetRequest) ProtoReflect ¶ added in v1.0.11
func (x *MSetRequest) ProtoReflect() protoreflect.Message
func (*MSetRequest) Reset ¶ added in v1.0.11
func (x *MSetRequest) Reset()
func (*MSetRequest) String ¶ added in v1.0.11
func (x *MSetRequest) String() string
type MSetRequest_KeyValue ¶ added in v1.0.11
type MSetRequest_KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Value: // // *MSetRequest_KeyValue_StringValue // *MSetRequest_KeyValue_Int32Value // *MSetRequest_KeyValue_Int64Value // *MSetRequest_KeyValue_Float32Value // *MSetRequest_KeyValue_Float64Value // *MSetRequest_KeyValue_BoolValue // *MSetRequest_KeyValue_BytesValue Value isMSetRequest_KeyValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*MSetRequest_KeyValue) Descriptor
deprecated
added in
v1.0.11
func (*MSetRequest_KeyValue) Descriptor() ([]byte, []int)
Deprecated: Use MSetRequest_KeyValue.ProtoReflect.Descriptor instead.
func (*MSetRequest_KeyValue) GetBoolValue ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) GetBoolValue() bool
func (*MSetRequest_KeyValue) GetBytesValue ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) GetBytesValue() []byte
func (*MSetRequest_KeyValue) GetFloat32Value ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) GetFloat32Value() float32
func (*MSetRequest_KeyValue) GetFloat64Value ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) GetFloat64Value() float64
func (*MSetRequest_KeyValue) GetInt32Value ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) GetInt32Value() int32
func (*MSetRequest_KeyValue) GetInt64Value ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) GetInt64Value() int64
func (*MSetRequest_KeyValue) GetKey ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) GetKey() string
func (*MSetRequest_KeyValue) GetStringValue ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) GetStringValue() string
func (*MSetRequest_KeyValue) GetValue ¶ added in v1.0.11
func (m *MSetRequest_KeyValue) GetValue() isMSetRequest_KeyValue_Value
func (*MSetRequest_KeyValue) ProtoMessage ¶ added in v1.0.11
func (*MSetRequest_KeyValue) ProtoMessage()
func (*MSetRequest_KeyValue) ProtoReflect ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) ProtoReflect() protoreflect.Message
func (*MSetRequest_KeyValue) Reset ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) Reset()
func (*MSetRequest_KeyValue) String ¶ added in v1.0.11
func (x *MSetRequest_KeyValue) String() string
type MSetRequest_KeyValue_BoolValue ¶ added in v1.0.11
type MSetRequest_KeyValue_BoolValue struct {
BoolValue bool `protobuf:"varint,7,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type MSetRequest_KeyValue_BytesValue ¶ added in v1.0.11
type MSetRequest_KeyValue_BytesValue struct {
BytesValue []byte `protobuf:"bytes,8,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type MSetRequest_KeyValue_Float32Value ¶ added in v1.0.11
type MSetRequest_KeyValue_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,5,opt,name=float32_value,json=float32Value,proto3,oneof"`
}
type MSetRequest_KeyValue_Float64Value ¶ added in v1.0.11
type MSetRequest_KeyValue_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,6,opt,name=float64_value,json=float64Value,proto3,oneof"`
}
type MSetRequest_KeyValue_Int32Value ¶ added in v1.0.11
type MSetRequest_KeyValue_Int32Value struct {
Int32Value int32 `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3,oneof"`
}
type MSetRequest_KeyValue_Int64Value ¶ added in v1.0.11
type MSetRequest_KeyValue_Int64Value struct {
Int64Value int64 `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type MSetRequest_KeyValue_StringValue ¶ added in v1.0.11
type MSetRequest_KeyValue_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type MSetResponse ¶ added in v1.0.11
type MSetResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*MSetResponse) Descriptor
deprecated
added in
v1.0.11
func (*MSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use MSetResponse.ProtoReflect.Descriptor instead.
func (*MSetResponse) GetSuccess ¶ added in v1.0.11
func (x *MSetResponse) GetSuccess() bool
func (*MSetResponse) ProtoMessage ¶ added in v1.0.11
func (*MSetResponse) ProtoMessage()
func (*MSetResponse) ProtoReflect ¶ added in v1.0.11
func (x *MSetResponse) ProtoReflect() protoreflect.Message
func (*MSetResponse) Reset ¶ added in v1.0.11
func (x *MSetResponse) Reset()
func (*MSetResponse) String ¶ added in v1.0.11
func (x *MSetResponse) String() string
type NewFlyDBResponse ¶
type NewFlyDBResponse struct { ResponseMsg string `protobuf:"bytes,1,opt,name=ResponseMsg,proto3" json:"ResponseMsg,omitempty"` // contains filtered or unexported fields }
func (*NewFlyDBResponse) Descriptor
deprecated
func (*NewFlyDBResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewFlyDBResponse.ProtoReflect.Descriptor instead.
func (*NewFlyDBResponse) GetResponseMsg ¶
func (x *NewFlyDBResponse) GetResponseMsg() string
func (*NewFlyDBResponse) ProtoMessage ¶
func (*NewFlyDBResponse) ProtoMessage()
func (*NewFlyDBResponse) ProtoReflect ¶
func (x *NewFlyDBResponse) ProtoReflect() protoreflect.Message
func (*NewFlyDBResponse) Reset ¶
func (x *NewFlyDBResponse) Reset()
func (*NewFlyDBResponse) String ¶
func (x *NewFlyDBResponse) String() string
type PersistRequest ¶
type PersistRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*PersistRequest) Descriptor
deprecated
func (*PersistRequest) Descriptor() ([]byte, []int)
Deprecated: Use PersistRequest.ProtoReflect.Descriptor instead.
func (*PersistRequest) GetKey ¶
func (x *PersistRequest) GetKey() string
func (*PersistRequest) ProtoMessage ¶
func (*PersistRequest) ProtoMessage()
func (*PersistRequest) ProtoReflect ¶
func (x *PersistRequest) ProtoReflect() protoreflect.Message
func (*PersistRequest) Reset ¶
func (x *PersistRequest) Reset()
func (*PersistRequest) String ¶
func (x *PersistRequest) String() string
type PersistResponse ¶
type PersistResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*PersistResponse) Descriptor
deprecated
func (*PersistResponse) Descriptor() ([]byte, []int)
Deprecated: Use PersistResponse.ProtoReflect.Descriptor instead.
func (*PersistResponse) GetOk ¶
func (x *PersistResponse) GetOk() bool
func (*PersistResponse) ProtoMessage ¶
func (*PersistResponse) ProtoMessage()
func (*PersistResponse) ProtoReflect ¶
func (x *PersistResponse) ProtoReflect() protoreflect.Message
func (*PersistResponse) Reset ¶
func (x *PersistResponse) Reset()
func (*PersistResponse) String ¶
func (x *PersistResponse) String() string
type SetRequest ¶
type SetRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Value: // // *SetRequest_StringValue // *SetRequest_Int32Value // *SetRequest_Int64Value // *SetRequest_Float32Value // *SetRequest_Float64Value // *SetRequest_BoolValue // *SetRequest_BytesValue Value isSetRequest_Value `protobuf_oneof:"value"` Expire int64 `protobuf:"varint,9,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*SetRequest) Descriptor
deprecated
func (*SetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.
func (*SetRequest) GetBoolValue ¶
func (x *SetRequest) GetBoolValue() bool
func (*SetRequest) GetBytesValue ¶
func (x *SetRequest) GetBytesValue() []byte
func (*SetRequest) GetExpire ¶
func (x *SetRequest) GetExpire() int64
func (*SetRequest) GetFloat32Value ¶
func (x *SetRequest) GetFloat32Value() float32
func (*SetRequest) GetFloat64Value ¶
func (x *SetRequest) GetFloat64Value() float64
func (*SetRequest) GetInt32Value ¶
func (x *SetRequest) GetInt32Value() int32
func (*SetRequest) GetInt64Value ¶
func (x *SetRequest) GetInt64Value() int64
func (*SetRequest) GetKey ¶
func (x *SetRequest) GetKey() string
func (*SetRequest) GetStringValue ¶
func (x *SetRequest) GetStringValue() string
func (*SetRequest) GetValue ¶
func (m *SetRequest) GetValue() isSetRequest_Value
func (*SetRequest) ProtoMessage ¶
func (*SetRequest) ProtoMessage()
func (*SetRequest) ProtoReflect ¶
func (x *SetRequest) ProtoReflect() protoreflect.Message
func (*SetRequest) Reset ¶
func (x *SetRequest) Reset()
func (*SetRequest) String ¶
func (x *SetRequest) String() string
type SetRequest_BoolValue ¶
type SetRequest_BoolValue struct {
BoolValue bool `protobuf:"varint,7,opt,name=BoolValue,proto3,oneof"`
}
type SetRequest_BytesValue ¶
type SetRequest_BytesValue struct {
BytesValue []byte `protobuf:"bytes,8,opt,name=BytesValue,proto3,oneof"`
}
type SetRequest_Float32Value ¶
type SetRequest_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,5,opt,name=Float32Value,proto3,oneof"`
}
type SetRequest_Float64Value ¶
type SetRequest_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,6,opt,name=Float64Value,proto3,oneof"`
}
type SetRequest_Int32Value ¶
type SetRequest_Int32Value struct {
Int32Value int32 `protobuf:"varint,3,opt,name=Int32Value,proto3,oneof"`
}
type SetRequest_Int64Value ¶
type SetRequest_Int64Value struct {
Int64Value int64 `protobuf:"varint,4,opt,name=Int64Value,proto3,oneof"`
}
type SetRequest_StringValue ¶
type SetRequest_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=StringValue,proto3,oneof"`
}
type SetResponse ¶
type SetResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*SetResponse) Descriptor
deprecated
func (*SetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.
func (*SetResponse) GetOk ¶
func (x *SetResponse) GetOk() bool
func (*SetResponse) ProtoMessage ¶
func (*SetResponse) ProtoMessage()
func (*SetResponse) ProtoReflect ¶
func (x *SetResponse) ProtoReflect() protoreflect.Message
func (*SetResponse) Reset ¶
func (x *SetResponse) Reset()
func (*SetResponse) String ¶
func (x *SetResponse) String() string
type SizeRequest ¶ added in v1.0.14
type SizeRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*SizeRequest) Descriptor
deprecated
added in
v1.0.14
func (*SizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SizeRequest.ProtoReflect.Descriptor instead.
func (*SizeRequest) GetKey ¶ added in v1.0.14
func (x *SizeRequest) GetKey() string
func (*SizeRequest) ProtoMessage ¶ added in v1.0.14
func (*SizeRequest) ProtoMessage()
func (*SizeRequest) ProtoReflect ¶ added in v1.0.14
func (x *SizeRequest) ProtoReflect() protoreflect.Message
func (*SizeRequest) Reset ¶ added in v1.0.14
func (x *SizeRequest) Reset()
func (*SizeRequest) String ¶ added in v1.0.14
func (x *SizeRequest) String() string
type SizeResponse ¶ added in v1.0.14
type SizeResponse struct { Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*SizeResponse) Descriptor
deprecated
added in
v1.0.14
func (*SizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SizeResponse.ProtoReflect.Descriptor instead.
func (*SizeResponse) GetSize ¶ added in v1.0.14
func (x *SizeResponse) GetSize() int64
func (*SizeResponse) ProtoMessage ¶ added in v1.0.14
func (*SizeResponse) ProtoMessage()
func (*SizeResponse) ProtoReflect ¶ added in v1.0.14
func (x *SizeResponse) ProtoReflect() protoreflect.Message
func (*SizeResponse) Reset ¶ added in v1.0.14
func (x *SizeResponse) Reset()
func (*SizeResponse) String ¶ added in v1.0.14
func (x *SizeResponse) String() string
type StrLenRequest ¶
type StrLenRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*StrLenRequest) Descriptor
deprecated
func (*StrLenRequest) Descriptor() ([]byte, []int)
Deprecated: Use StrLenRequest.ProtoReflect.Descriptor instead.
func (*StrLenRequest) GetKey ¶
func (x *StrLenRequest) GetKey() string
func (*StrLenRequest) ProtoMessage ¶
func (*StrLenRequest) ProtoMessage()
func (*StrLenRequest) ProtoReflect ¶
func (x *StrLenRequest) ProtoReflect() protoreflect.Message
func (*StrLenRequest) Reset ¶
func (x *StrLenRequest) Reset()
func (*StrLenRequest) String ¶
func (x *StrLenRequest) String() string
type StrLenResponse ¶
type StrLenResponse struct { Length int32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*StrLenResponse) Descriptor
deprecated
func (*StrLenResponse) Descriptor() ([]byte, []int)
Deprecated: Use StrLenResponse.ProtoReflect.Descriptor instead.
func (*StrLenResponse) GetLength ¶
func (x *StrLenResponse) GetLength() int32
func (*StrLenResponse) ProtoMessage ¶
func (*StrLenResponse) ProtoMessage()
func (*StrLenResponse) ProtoReflect ¶
func (x *StrLenResponse) ProtoReflect() protoreflect.Message
func (*StrLenResponse) Reset ¶
func (x *StrLenResponse) Reset()
func (*StrLenResponse) String ¶
func (x *StrLenResponse) String() string
type TTLRequest ¶ added in v1.0.14
type TTLRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*TTLRequest) Descriptor
deprecated
added in
v1.0.14
func (*TTLRequest) Descriptor() ([]byte, []int)
Deprecated: Use TTLRequest.ProtoReflect.Descriptor instead.
func (*TTLRequest) GetKey ¶ added in v1.0.14
func (x *TTLRequest) GetKey() string
func (*TTLRequest) ProtoMessage ¶ added in v1.0.14
func (*TTLRequest) ProtoMessage()
func (*TTLRequest) ProtoReflect ¶ added in v1.0.14
func (x *TTLRequest) ProtoReflect() protoreflect.Message
func (*TTLRequest) Reset ¶ added in v1.0.14
func (x *TTLRequest) Reset()
func (*TTLRequest) String ¶ added in v1.0.14
func (x *TTLRequest) String() string
type TTLResponse ¶ added in v1.0.14
type TTLResponse struct { Ttl int64 `protobuf:"varint,1,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*TTLResponse) Descriptor
deprecated
added in
v1.0.14
func (*TTLResponse) Descriptor() ([]byte, []int)
Deprecated: Use TTLResponse.ProtoReflect.Descriptor instead.
func (*TTLResponse) GetTtl ¶ added in v1.0.14
func (x *TTLResponse) GetTtl() int64
func (*TTLResponse) ProtoMessage ¶ added in v1.0.14
func (*TTLResponse) ProtoMessage()
func (*TTLResponse) ProtoReflect ¶ added in v1.0.14
func (x *TTLResponse) ProtoReflect() protoreflect.Message
func (*TTLResponse) Reset ¶ added in v1.0.14
func (x *TTLResponse) Reset()
func (*TTLResponse) String ¶ added in v1.0.14
func (x *TTLResponse) String() string
type TypeRequest ¶
type TypeRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*TypeRequest) Descriptor
deprecated
func (*TypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use TypeRequest.ProtoReflect.Descriptor instead.
func (*TypeRequest) GetKey ¶
func (x *TypeRequest) GetKey() string
func (*TypeRequest) ProtoMessage ¶
func (*TypeRequest) ProtoMessage()
func (*TypeRequest) ProtoReflect ¶
func (x *TypeRequest) ProtoReflect() protoreflect.Message
func (*TypeRequest) Reset ¶
func (x *TypeRequest) Reset()
func (*TypeRequest) String ¶
func (x *TypeRequest) String() string
type TypeResponse ¶
type TypeResponse struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*TypeResponse) Descriptor
deprecated
func (*TypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use TypeResponse.ProtoReflect.Descriptor instead.
func (*TypeResponse) GetType ¶
func (x *TypeResponse) GetType() string
func (*TypeResponse) ProtoMessage ¶
func (*TypeResponse) ProtoMessage()
func (*TypeResponse) ProtoReflect ¶
func (x *TypeResponse) ProtoReflect() protoreflect.Message
func (*TypeResponse) Reset ¶
func (x *TypeResponse) Reset()
func (*TypeResponse) String ¶
func (x *TypeResponse) String() string
type UnimplementedGStringServiceServer ¶
type UnimplementedGStringServiceServer struct { }
UnimplementedGStringServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedGStringServiceServer) Append ¶
func (UnimplementedGStringServiceServer) Append(context.Context, *AppendRequest) (*AppendResponse, error)
func (UnimplementedGStringServiceServer) Decr ¶
func (UnimplementedGStringServiceServer) Decr(context.Context, *DecrRequest) (*DecrResponse, error)
func (UnimplementedGStringServiceServer) DecrBy ¶
func (UnimplementedGStringServiceServer) DecrBy(context.Context, *DecrByRequest) (*DecrByResponse, error)
func (UnimplementedGStringServiceServer) Del ¶
func (UnimplementedGStringServiceServer) Del(context.Context, *DelRequest) (*DelResponse, error)
func (UnimplementedGStringServiceServer) Exists ¶
func (UnimplementedGStringServiceServer) Exists(context.Context, *ExistsRequest) (*ExistsResponse, error)
func (UnimplementedGStringServiceServer) Expire ¶
func (UnimplementedGStringServiceServer) Expire(context.Context, *ExpireRequest) (*ExpireResponse, error)
func (UnimplementedGStringServiceServer) Get ¶
func (UnimplementedGStringServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedGStringServiceServer) GetSet ¶
func (UnimplementedGStringServiceServer) GetSet(context.Context, *GetSetRequest) (*GetSetResponse, error)
func (UnimplementedGStringServiceServer) Incr ¶
func (UnimplementedGStringServiceServer) Incr(context.Context, *IncrRequest) (*IncrResponse, error)
func (UnimplementedGStringServiceServer) IncrBy ¶
func (UnimplementedGStringServiceServer) IncrBy(context.Context, *IncrByRequest) (*IncrByResponse, error)
func (UnimplementedGStringServiceServer) IncrByFloat ¶
func (UnimplementedGStringServiceServer) IncrByFloat(context.Context, *IncrByFloatRequest) (*IncrByFloatResponse, error)
func (UnimplementedGStringServiceServer) Keys ¶ added in v1.0.14
func (UnimplementedGStringServiceServer) Keys(context.Context, *KeysRequest) (*KeysResponse, error)
func (UnimplementedGStringServiceServer) MGet ¶
func (UnimplementedGStringServiceServer) MGet(context.Context, *MGetRequest) (*MGetResponse, error)
func (UnimplementedGStringServiceServer) MSet ¶ added in v1.0.11
func (UnimplementedGStringServiceServer) MSet(context.Context, *MSetRequest) (*MSetResponse, error)
func (UnimplementedGStringServiceServer) MSetNX ¶ added in v1.0.11
func (UnimplementedGStringServiceServer) MSetNX(context.Context, *MSetNXRequest) (*MSetNXResponse, error)
func (UnimplementedGStringServiceServer) NewFlyDBService ¶
func (UnimplementedGStringServiceServer) NewFlyDBService(context.Context, *FlyDBOption) (*NewFlyDBResponse, error)
func (UnimplementedGStringServiceServer) Persist ¶
func (UnimplementedGStringServiceServer) Persist(context.Context, *PersistRequest) (*PersistResponse, error)
func (UnimplementedGStringServiceServer) Put ¶
func (UnimplementedGStringServiceServer) Put(context.Context, *SetRequest) (*SetResponse, error)
func (UnimplementedGStringServiceServer) Size ¶ added in v1.0.14
func (UnimplementedGStringServiceServer) Size(context.Context, *SizeRequest) (*SizeResponse, error)
func (UnimplementedGStringServiceServer) StrLen ¶
func (UnimplementedGStringServiceServer) StrLen(context.Context, *StrLenRequest) (*StrLenResponse, error)
func (UnimplementedGStringServiceServer) TTL ¶ added in v1.0.14
func (UnimplementedGStringServiceServer) TTL(context.Context, *TTLRequest) (*TTLResponse, error)
func (UnimplementedGStringServiceServer) Type ¶
func (UnimplementedGStringServiceServer) Type(context.Context, *TypeRequest) (*TypeResponse, error)
type UnsafeGStringServiceServer ¶
type UnsafeGStringServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGStringServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GStringServiceServer will result in compilation errors.