Documentation ¶
Index ¶
- Variables
- func RegisterGHashServiceServer(s grpc.ServiceRegistrar, srv GHashServiceServer)
- type GHashDecrByRequest
- func (*GHashDecrByRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashDecrByRequest) GetField() string
- func (x *GHashDecrByRequest) GetKey() string
- func (x *GHashDecrByRequest) GetValue() int64
- func (*GHashDecrByRequest) ProtoMessage()
- func (x *GHashDecrByRequest) ProtoReflect() protoreflect.Message
- func (x *GHashDecrByRequest) Reset()
- func (x *GHashDecrByRequest) String() string
- type GHashDecrByResponse
- func (*GHashDecrByResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GHashDecrByResponse) GetValue() int64
- func (*GHashDecrByResponse) ProtoMessage()
- func (x *GHashDecrByResponse) ProtoReflect() protoreflect.Message
- func (x *GHashDecrByResponse) Reset()
- func (x *GHashDecrByResponse) String() string
- type GHashDelRequest
- func (*GHashDelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashDelRequest) GetField() string
- func (x *GHashDelRequest) GetKey() string
- func (*GHashDelRequest) ProtoMessage()
- func (x *GHashDelRequest) ProtoReflect() protoreflect.Message
- func (x *GHashDelRequest) Reset()
- func (x *GHashDelRequest) String() string
- type GHashDelResponse
- type GHashExistsRequest
- func (*GHashExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashExistsRequest) GetField() string
- func (x *GHashExistsRequest) GetKey() string
- func (*GHashExistsRequest) ProtoMessage()
- func (x *GHashExistsRequest) ProtoReflect() protoreflect.Message
- func (x *GHashExistsRequest) Reset()
- func (x *GHashExistsRequest) String() string
- type GHashExistsResponse
- func (*GHashExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GHashExistsResponse) GetOk() bool
- func (*GHashExistsResponse) ProtoMessage()
- func (x *GHashExistsResponse) ProtoReflect() protoreflect.Message
- func (x *GHashExistsResponse) Reset()
- func (x *GHashExistsResponse) String() string
- type GHashExpireRequest
- func (*GHashExpireRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashExpireRequest) GetKey() string
- func (x *GHashExpireRequest) GetTtl() int64
- func (*GHashExpireRequest) ProtoMessage()
- func (x *GHashExpireRequest) ProtoReflect() protoreflect.Message
- func (x *GHashExpireRequest) Reset()
- func (x *GHashExpireRequest) String() string
- type GHashExpireResponse
- func (*GHashExpireResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GHashExpireResponse) GetOk() bool
- func (*GHashExpireResponse) ProtoMessage()
- func (x *GHashExpireResponse) ProtoReflect() protoreflect.Message
- func (x *GHashExpireResponse) Reset()
- func (x *GHashExpireResponse) String() string
- type GHashGetRequest
- func (*GHashGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashGetRequest) GetField() string
- func (x *GHashGetRequest) GetKey() string
- func (*GHashGetRequest) ProtoMessage()
- func (x *GHashGetRequest) ProtoReflect() protoreflect.Message
- func (x *GHashGetRequest) Reset()
- func (x *GHashGetRequest) String() string
- type GHashGetResponse
- func (*GHashGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GHashGetResponse) GetBoolValue() bool
- func (x *GHashGetResponse) GetBytesValue() []byte
- func (x *GHashGetResponse) GetFloat32Value() float32
- func (x *GHashGetResponse) GetFloat64Value() float64
- func (x *GHashGetResponse) GetInt32Value() int32
- func (x *GHashGetResponse) GetInt64Value() int64
- func (x *GHashGetResponse) GetStringValue() string
- func (m *GHashGetResponse) GetValue() isGHashGetResponse_Value
- func (*GHashGetResponse) ProtoMessage()
- func (x *GHashGetResponse) ProtoReflect() protoreflect.Message
- func (x *GHashGetResponse) Reset()
- func (x *GHashGetResponse) String() string
- type GHashGetResponse_BoolValue
- type GHashGetResponse_BytesValue
- type GHashGetResponse_Float32Value
- type GHashGetResponse_Float64Value
- type GHashGetResponse_Int32Value
- type GHashGetResponse_Int64Value
- type GHashGetResponse_StringValue
- type GHashIncrByFloatRequest
- func (*GHashIncrByFloatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashIncrByFloatRequest) GetField() string
- func (x *GHashIncrByFloatRequest) GetKey() string
- func (x *GHashIncrByFloatRequest) GetValue() float64
- func (*GHashIncrByFloatRequest) ProtoMessage()
- func (x *GHashIncrByFloatRequest) ProtoReflect() protoreflect.Message
- func (x *GHashIncrByFloatRequest) Reset()
- func (x *GHashIncrByFloatRequest) String() string
- type GHashIncrByFloatResponse
- func (*GHashIncrByFloatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GHashIncrByFloatResponse) GetValue() float64
- func (*GHashIncrByFloatResponse) ProtoMessage()
- func (x *GHashIncrByFloatResponse) ProtoReflect() protoreflect.Message
- func (x *GHashIncrByFloatResponse) Reset()
- func (x *GHashIncrByFloatResponse) String() string
- type GHashIncrByRequest
- func (*GHashIncrByRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashIncrByRequest) GetField() string
- func (x *GHashIncrByRequest) GetKey() string
- func (x *GHashIncrByRequest) GetValue() int64
- func (*GHashIncrByRequest) ProtoMessage()
- func (x *GHashIncrByRequest) ProtoReflect() protoreflect.Message
- func (x *GHashIncrByRequest) Reset()
- func (x *GHashIncrByRequest) String() string
- type GHashIncrByResponse
- func (*GHashIncrByResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GHashIncrByResponse) GetValue() int64
- func (*GHashIncrByResponse) ProtoMessage()
- func (x *GHashIncrByResponse) ProtoReflect() protoreflect.Message
- func (x *GHashIncrByResponse) Reset()
- func (x *GHashIncrByResponse) String() string
- type GHashKeysRequest
- type GHashKeysResponse
- type GHashLenRequest
- type GHashLenResponse
- type GHashMoveRequest
- func (*GHashMoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashMoveRequest) GetDest() string
- func (x *GHashMoveRequest) GetField() string
- func (x *GHashMoveRequest) GetKey() string
- func (*GHashMoveRequest) ProtoMessage()
- func (x *GHashMoveRequest) ProtoReflect() protoreflect.Message
- func (x *GHashMoveRequest) Reset()
- func (x *GHashMoveRequest) String() string
- type GHashMoveResponse
- type GHashServiceClient
- type GHashServiceServer
- type GHashSetNXRequest
- func (*GHashSetNXRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashSetNXRequest) GetBoolValue() bool
- func (x *GHashSetNXRequest) GetBytesValue() []byte
- func (x *GHashSetNXRequest) GetField() string
- func (x *GHashSetNXRequest) GetFloat32Value() float32
- func (x *GHashSetNXRequest) GetFloat64Value() float64
- func (x *GHashSetNXRequest) GetInt32Value() int32
- func (x *GHashSetNXRequest) GetInt64Value() int64
- func (x *GHashSetNXRequest) GetKey() string
- func (x *GHashSetNXRequest) GetStringValue() string
- func (x *GHashSetNXRequest) GetTtl() int64
- func (m *GHashSetNXRequest) GetValue() isGHashSetNXRequest_Value
- func (*GHashSetNXRequest) ProtoMessage()
- func (x *GHashSetNXRequest) ProtoReflect() protoreflect.Message
- func (x *GHashSetNXRequest) Reset()
- func (x *GHashSetNXRequest) String() string
- type GHashSetNXRequest_BoolValue
- type GHashSetNXRequest_BytesValue
- type GHashSetNXRequest_Float32Value
- type GHashSetNXRequest_Float64Value
- type GHashSetNXRequest_Int32Value
- type GHashSetNXRequest_Int64Value
- type GHashSetNXRequest_StringValue
- type GHashSetNXResponse
- type GHashSetRequest
- func (*GHashSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashSetRequest) GetBoolValue() bool
- func (x *GHashSetRequest) GetBytesValue() []byte
- func (x *GHashSetRequest) GetField() string
- func (x *GHashSetRequest) GetFloat32Value() float32
- func (x *GHashSetRequest) GetFloat64Value() float64
- func (x *GHashSetRequest) GetInt32Value() int32
- func (x *GHashSetRequest) GetInt64Value() int64
- func (x *GHashSetRequest) GetKey() string
- func (x *GHashSetRequest) GetStringValue() string
- func (m *GHashSetRequest) GetValue() isGHashSetRequest_Value
- func (*GHashSetRequest) ProtoMessage()
- func (x *GHashSetRequest) ProtoReflect() protoreflect.Message
- func (x *GHashSetRequest) Reset()
- func (x *GHashSetRequest) String() string
- type GHashSetRequest_BoolValue
- type GHashSetRequest_BytesValue
- type GHashSetRequest_Float32Value
- type GHashSetRequest_Float64Value
- type GHashSetRequest_Int32Value
- type GHashSetRequest_Int64Value
- type GHashSetRequest_StringValue
- type GHashSetResponse
- type GHashSizeRequest
- type GHashSizeResponse
- type GHashStrLenRequest
- func (*GHashStrLenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashStrLenRequest) GetField() string
- func (x *GHashStrLenRequest) GetKey() string
- func (*GHashStrLenRequest) ProtoMessage()
- func (x *GHashStrLenRequest) ProtoReflect() protoreflect.Message
- func (x *GHashStrLenRequest) Reset()
- func (x *GHashStrLenRequest) String() string
- type GHashStrLenResponse
- func (*GHashStrLenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GHashStrLenResponse) GetLength() int64
- func (*GHashStrLenResponse) ProtoMessage()
- func (x *GHashStrLenResponse) ProtoReflect() protoreflect.Message
- func (x *GHashStrLenResponse) Reset()
- func (x *GHashStrLenResponse) String() string
- type GHashTTLRequest
- type GHashTTLResponse
- type GHashTypeRequest
- func (*GHashTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashTypeRequest) GetField() string
- func (x *GHashTypeRequest) GetKey() string
- func (*GHashTypeRequest) ProtoMessage()
- func (x *GHashTypeRequest) ProtoReflect() protoreflect.Message
- func (x *GHashTypeRequest) Reset()
- func (x *GHashTypeRequest) String() string
- type GHashTypeResponse
- type GHashUpdateRequest
- func (*GHashUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GHashUpdateRequest) GetBoolValue() bool
- func (x *GHashUpdateRequest) GetBytesValue() []byte
- func (x *GHashUpdateRequest) GetField() string
- func (x *GHashUpdateRequest) GetFloat32Value() float32
- func (x *GHashUpdateRequest) GetFloat64Value() float64
- func (x *GHashUpdateRequest) GetInt32Value() int32
- func (x *GHashUpdateRequest) GetInt64Value() int64
- func (x *GHashUpdateRequest) GetKey() string
- func (x *GHashUpdateRequest) GetStringValue() string
- func (m *GHashUpdateRequest) GetValue() isGHashUpdateRequest_Value
- func (*GHashUpdateRequest) ProtoMessage()
- func (x *GHashUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *GHashUpdateRequest) Reset()
- func (x *GHashUpdateRequest) String() string
- type GHashUpdateRequest_BoolValue
- type GHashUpdateRequest_BytesValue
- type GHashUpdateRequest_Float32Value
- type GHashUpdateRequest_Float64Value
- type GHashUpdateRequest_Int32Value
- type GHashUpdateRequest_Int64Value
- type GHashUpdateRequest_StringValue
- type GHashUpdateResponse
- func (*GHashUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GHashUpdateResponse) GetOk() bool
- func (*GHashUpdateResponse) ProtoMessage()
- func (x *GHashUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *GHashUpdateResponse) Reset()
- func (x *GHashUpdateResponse) String() string
- type UnimplementedGHashServiceServer
- func (UnimplementedGHashServiceServer) HDecrBy(context.Context, *GHashDecrByRequest) (*GHashDecrByResponse, error)
- func (UnimplementedGHashServiceServer) HDel(context.Context, *GHashDelRequest) (*GHashDelResponse, error)
- func (UnimplementedGHashServiceServer) HExists(context.Context, *GHashExistsRequest) (*GHashExistsResponse, error)
- func (UnimplementedGHashServiceServer) HExpire(context.Context, *GHashExpireRequest) (*GHashExpireResponse, error)
- func (UnimplementedGHashServiceServer) HGet(context.Context, *GHashGetRequest) (*GHashGetResponse, error)
- func (UnimplementedGHashServiceServer) HIncrBy(context.Context, *GHashIncrByRequest) (*GHashIncrByResponse, error)
- func (UnimplementedGHashServiceServer) HIncrByFloat(context.Context, *GHashIncrByFloatRequest) (*GHashIncrByFloatResponse, error)
- func (UnimplementedGHashServiceServer) HKeys(context.Context, *GHashKeysRequest) (*GHashKeysResponse, error)
- func (UnimplementedGHashServiceServer) HLen(context.Context, *GHashLenRequest) (*GHashLenResponse, error)
- func (UnimplementedGHashServiceServer) HMove(context.Context, *GHashMoveRequest) (*GHashMoveResponse, error)
- func (UnimplementedGHashServiceServer) HSet(context.Context, *GHashSetRequest) (*GHashSetResponse, error)
- func (UnimplementedGHashServiceServer) HSetNX(context.Context, *GHashSetNXRequest) (*GHashSetNXResponse, error)
- func (UnimplementedGHashServiceServer) HStrLen(context.Context, *GHashStrLenRequest) (*GHashStrLenResponse, error)
- func (UnimplementedGHashServiceServer) HType(context.Context, *GHashTypeRequest) (*GHashTypeResponse, error)
- func (UnimplementedGHashServiceServer) HUpdate(context.Context, *GHashUpdateRequest) (*GHashUpdateResponse, error)
- func (UnimplementedGHashServiceServer) Size(context.Context, *GHashSizeRequest) (*GHashSizeResponse, error)
- func (UnimplementedGHashServiceServer) TTL(context.Context, *GHashTTLRequest) (*GHashTTLResponse, error)
- type UnsafeGHashServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_lib_proto_ghash_db_proto protoreflect.FileDescriptor
var GHashService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ghash.GHashService", HandlerType: (*GHashServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HSet", Handler: _GHashService_HSet_Handler, }, { MethodName: "HGet", Handler: _GHashService_HGet_Handler, }, { MethodName: "HDel", Handler: _GHashService_HDel_Handler, }, { MethodName: "HExists", Handler: _GHashService_HExists_Handler, }, { MethodName: "HLen", Handler: _GHashService_HLen_Handler, }, { MethodName: "HUpdate", Handler: _GHashService_HUpdate_Handler, }, { MethodName: "HIncrBy", Handler: _GHashService_HIncrBy_Handler, }, { MethodName: "HIncrByFloat", Handler: _GHashService_HIncrByFloat_Handler, }, { MethodName: "HDecrBy", Handler: _GHashService_HDecrBy_Handler, }, { MethodName: "HStrLen", Handler: _GHashService_HStrLen_Handler, }, { MethodName: "HMove", Handler: _GHashService_HMove_Handler, }, { MethodName: "HSetNX", Handler: _GHashService_HSetNX_Handler, }, { MethodName: "HType", Handler: _GHashService_HType_Handler, }, { MethodName: "HKeys", Handler: _GHashService_HKeys_Handler, }, { MethodName: "TTL", Handler: _GHashService_TTL_Handler, }, { MethodName: "Size", Handler: _GHashService_Size_Handler, }, { MethodName: "HExpire", Handler: _GHashService_HExpire_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "lib/proto/ghash/db.proto", }
GHashService_ServiceDesc is the grpc.ServiceDesc for GHashService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGHashServiceServer ¶
func RegisterGHashServiceServer(s grpc.ServiceRegistrar, srv GHashServiceServer)
Types ¶
type GHashDecrByRequest ¶
type GHashDecrByRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GHashDecrByRequest) Descriptor
deprecated
func (*GHashDecrByRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashDecrByRequest.ProtoReflect.Descriptor instead.
func (*GHashDecrByRequest) GetField ¶
func (x *GHashDecrByRequest) GetField() string
func (*GHashDecrByRequest) GetKey ¶
func (x *GHashDecrByRequest) GetKey() string
func (*GHashDecrByRequest) GetValue ¶
func (x *GHashDecrByRequest) GetValue() int64
func (*GHashDecrByRequest) ProtoMessage ¶
func (*GHashDecrByRequest) ProtoMessage()
func (*GHashDecrByRequest) ProtoReflect ¶
func (x *GHashDecrByRequest) ProtoReflect() protoreflect.Message
func (*GHashDecrByRequest) Reset ¶
func (x *GHashDecrByRequest) Reset()
func (*GHashDecrByRequest) String ¶
func (x *GHashDecrByRequest) String() string
type GHashDecrByResponse ¶
type GHashDecrByResponse struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GHashDecrByResponse) Descriptor
deprecated
func (*GHashDecrByResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashDecrByResponse.ProtoReflect.Descriptor instead.
func (*GHashDecrByResponse) GetValue ¶
func (x *GHashDecrByResponse) GetValue() int64
func (*GHashDecrByResponse) ProtoMessage ¶
func (*GHashDecrByResponse) ProtoMessage()
func (*GHashDecrByResponse) ProtoReflect ¶
func (x *GHashDecrByResponse) ProtoReflect() protoreflect.Message
func (*GHashDecrByResponse) Reset ¶
func (x *GHashDecrByResponse) Reset()
func (*GHashDecrByResponse) String ¶
func (x *GHashDecrByResponse) String() string
type GHashDelRequest ¶
type GHashDelRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*GHashDelRequest) Descriptor
deprecated
func (*GHashDelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashDelRequest.ProtoReflect.Descriptor instead.
func (*GHashDelRequest) GetField ¶
func (x *GHashDelRequest) GetField() string
func (*GHashDelRequest) GetKey ¶
func (x *GHashDelRequest) GetKey() string
func (*GHashDelRequest) ProtoMessage ¶
func (*GHashDelRequest) ProtoMessage()
func (*GHashDelRequest) ProtoReflect ¶
func (x *GHashDelRequest) ProtoReflect() protoreflect.Message
func (*GHashDelRequest) Reset ¶
func (x *GHashDelRequest) Reset()
func (*GHashDelRequest) String ¶
func (x *GHashDelRequest) String() string
type GHashDelResponse ¶
type GHashDelResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*GHashDelResponse) Descriptor
deprecated
func (*GHashDelResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashDelResponse.ProtoReflect.Descriptor instead.
func (*GHashDelResponse) GetOk ¶
func (x *GHashDelResponse) GetOk() bool
func (*GHashDelResponse) ProtoMessage ¶
func (*GHashDelResponse) ProtoMessage()
func (*GHashDelResponse) ProtoReflect ¶
func (x *GHashDelResponse) ProtoReflect() protoreflect.Message
func (*GHashDelResponse) Reset ¶
func (x *GHashDelResponse) Reset()
func (*GHashDelResponse) String ¶
func (x *GHashDelResponse) String() string
type GHashExistsRequest ¶
type GHashExistsRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*GHashExistsRequest) Descriptor
deprecated
func (*GHashExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashExistsRequest.ProtoReflect.Descriptor instead.
func (*GHashExistsRequest) GetField ¶
func (x *GHashExistsRequest) GetField() string
func (*GHashExistsRequest) GetKey ¶
func (x *GHashExistsRequest) GetKey() string
func (*GHashExistsRequest) ProtoMessage ¶
func (*GHashExistsRequest) ProtoMessage()
func (*GHashExistsRequest) ProtoReflect ¶
func (x *GHashExistsRequest) ProtoReflect() protoreflect.Message
func (*GHashExistsRequest) Reset ¶
func (x *GHashExistsRequest) Reset()
func (*GHashExistsRequest) String ¶
func (x *GHashExistsRequest) String() string
type GHashExistsResponse ¶
type GHashExistsResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*GHashExistsResponse) Descriptor
deprecated
func (*GHashExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashExistsResponse.ProtoReflect.Descriptor instead.
func (*GHashExistsResponse) GetOk ¶
func (x *GHashExistsResponse) GetOk() bool
func (*GHashExistsResponse) ProtoMessage ¶
func (*GHashExistsResponse) ProtoMessage()
func (*GHashExistsResponse) ProtoReflect ¶
func (x *GHashExistsResponse) ProtoReflect() protoreflect.Message
func (*GHashExistsResponse) Reset ¶
func (x *GHashExistsResponse) Reset()
func (*GHashExistsResponse) String ¶
func (x *GHashExistsResponse) String() string
type GHashExpireRequest ¶ added in v1.1.0
type GHashExpireRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Ttl int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*GHashExpireRequest) Descriptor
deprecated
added in
v1.1.0
func (*GHashExpireRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashExpireRequest.ProtoReflect.Descriptor instead.
func (*GHashExpireRequest) GetKey ¶ added in v1.1.0
func (x *GHashExpireRequest) GetKey() string
func (*GHashExpireRequest) GetTtl ¶ added in v1.1.0
func (x *GHashExpireRequest) GetTtl() int64
func (*GHashExpireRequest) ProtoMessage ¶ added in v1.1.0
func (*GHashExpireRequest) ProtoMessage()
func (*GHashExpireRequest) ProtoReflect ¶ added in v1.1.0
func (x *GHashExpireRequest) ProtoReflect() protoreflect.Message
func (*GHashExpireRequest) Reset ¶ added in v1.1.0
func (x *GHashExpireRequest) Reset()
func (*GHashExpireRequest) String ¶ added in v1.1.0
func (x *GHashExpireRequest) String() string
type GHashExpireResponse ¶ added in v1.1.0
type GHashExpireResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*GHashExpireResponse) Descriptor
deprecated
added in
v1.1.0
func (*GHashExpireResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashExpireResponse.ProtoReflect.Descriptor instead.
func (*GHashExpireResponse) GetOk ¶ added in v1.1.0
func (x *GHashExpireResponse) GetOk() bool
func (*GHashExpireResponse) ProtoMessage ¶ added in v1.1.0
func (*GHashExpireResponse) ProtoMessage()
func (*GHashExpireResponse) ProtoReflect ¶ added in v1.1.0
func (x *GHashExpireResponse) ProtoReflect() protoreflect.Message
func (*GHashExpireResponse) Reset ¶ added in v1.1.0
func (x *GHashExpireResponse) Reset()
func (*GHashExpireResponse) String ¶ added in v1.1.0
func (x *GHashExpireResponse) String() string
type GHashGetRequest ¶
type GHashGetRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*GHashGetRequest) Descriptor
deprecated
func (*GHashGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashGetRequest.ProtoReflect.Descriptor instead.
func (*GHashGetRequest) GetField ¶
func (x *GHashGetRequest) GetField() string
func (*GHashGetRequest) GetKey ¶
func (x *GHashGetRequest) GetKey() string
func (*GHashGetRequest) ProtoMessage ¶
func (*GHashGetRequest) ProtoMessage()
func (*GHashGetRequest) ProtoReflect ¶
func (x *GHashGetRequest) ProtoReflect() protoreflect.Message
func (*GHashGetRequest) Reset ¶
func (x *GHashGetRequest) Reset()
func (*GHashGetRequest) String ¶
func (x *GHashGetRequest) String() string
type GHashGetResponse ¶
type GHashGetResponse struct { // Types that are assignable to Value: // // *GHashGetResponse_StringValue // *GHashGetResponse_Int32Value // *GHashGetResponse_Int64Value // *GHashGetResponse_Float32Value // *GHashGetResponse_Float64Value // *GHashGetResponse_BoolValue // *GHashGetResponse_BytesValue Value isGHashGetResponse_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*GHashGetResponse) Descriptor
deprecated
func (*GHashGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashGetResponse.ProtoReflect.Descriptor instead.
func (*GHashGetResponse) GetBoolValue ¶
func (x *GHashGetResponse) GetBoolValue() bool
func (*GHashGetResponse) GetBytesValue ¶
func (x *GHashGetResponse) GetBytesValue() []byte
func (*GHashGetResponse) GetFloat32Value ¶
func (x *GHashGetResponse) GetFloat32Value() float32
func (*GHashGetResponse) GetFloat64Value ¶
func (x *GHashGetResponse) GetFloat64Value() float64
func (*GHashGetResponse) GetInt32Value ¶
func (x *GHashGetResponse) GetInt32Value() int32
func (*GHashGetResponse) GetInt64Value ¶
func (x *GHashGetResponse) GetInt64Value() int64
func (*GHashGetResponse) GetStringValue ¶
func (x *GHashGetResponse) GetStringValue() string
func (*GHashGetResponse) GetValue ¶
func (m *GHashGetResponse) GetValue() isGHashGetResponse_Value
func (*GHashGetResponse) ProtoMessage ¶
func (*GHashGetResponse) ProtoMessage()
func (*GHashGetResponse) ProtoReflect ¶
func (x *GHashGetResponse) ProtoReflect() protoreflect.Message
func (*GHashGetResponse) Reset ¶
func (x *GHashGetResponse) Reset()
func (*GHashGetResponse) String ¶
func (x *GHashGetResponse) String() string
type GHashGetResponse_BoolValue ¶
type GHashGetResponse_BoolValue struct {
BoolValue bool `protobuf:"varint,6,opt,name=BoolValue,proto3,oneof"`
}
type GHashGetResponse_BytesValue ¶
type GHashGetResponse_BytesValue struct {
BytesValue []byte `protobuf:"bytes,7,opt,name=BytesValue,proto3,oneof"`
}
type GHashGetResponse_Float32Value ¶
type GHashGetResponse_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,4,opt,name=Float32Value,proto3,oneof"`
}
type GHashGetResponse_Float64Value ¶
type GHashGetResponse_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,5,opt,name=Float64Value,proto3,oneof"`
}
type GHashGetResponse_Int32Value ¶
type GHashGetResponse_Int32Value struct {
Int32Value int32 `protobuf:"varint,2,opt,name=Int32Value,proto3,oneof"`
}
type GHashGetResponse_Int64Value ¶
type GHashGetResponse_Int64Value struct {
Int64Value int64 `protobuf:"varint,3,opt,name=Int64Value,proto3,oneof"`
}
type GHashGetResponse_StringValue ¶
type GHashGetResponse_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=StringValue,proto3,oneof"`
}
type GHashIncrByFloatRequest ¶
type GHashIncrByFloatRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GHashIncrByFloatRequest) Descriptor
deprecated
func (*GHashIncrByFloatRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashIncrByFloatRequest.ProtoReflect.Descriptor instead.
func (*GHashIncrByFloatRequest) GetField ¶
func (x *GHashIncrByFloatRequest) GetField() string
func (*GHashIncrByFloatRequest) GetKey ¶
func (x *GHashIncrByFloatRequest) GetKey() string
func (*GHashIncrByFloatRequest) GetValue ¶
func (x *GHashIncrByFloatRequest) GetValue() float64
func (*GHashIncrByFloatRequest) ProtoMessage ¶
func (*GHashIncrByFloatRequest) ProtoMessage()
func (*GHashIncrByFloatRequest) ProtoReflect ¶
func (x *GHashIncrByFloatRequest) ProtoReflect() protoreflect.Message
func (*GHashIncrByFloatRequest) Reset ¶
func (x *GHashIncrByFloatRequest) Reset()
func (*GHashIncrByFloatRequest) String ¶
func (x *GHashIncrByFloatRequest) String() string
type GHashIncrByFloatResponse ¶
type GHashIncrByFloatResponse struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GHashIncrByFloatResponse) Descriptor
deprecated
func (*GHashIncrByFloatResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashIncrByFloatResponse.ProtoReflect.Descriptor instead.
func (*GHashIncrByFloatResponse) GetValue ¶
func (x *GHashIncrByFloatResponse) GetValue() float64
func (*GHashIncrByFloatResponse) ProtoMessage ¶
func (*GHashIncrByFloatResponse) ProtoMessage()
func (*GHashIncrByFloatResponse) ProtoReflect ¶
func (x *GHashIncrByFloatResponse) ProtoReflect() protoreflect.Message
func (*GHashIncrByFloatResponse) Reset ¶
func (x *GHashIncrByFloatResponse) Reset()
func (*GHashIncrByFloatResponse) String ¶
func (x *GHashIncrByFloatResponse) String() string
type GHashIncrByRequest ¶
type GHashIncrByRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GHashIncrByRequest) Descriptor
deprecated
func (*GHashIncrByRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashIncrByRequest.ProtoReflect.Descriptor instead.
func (*GHashIncrByRequest) GetField ¶
func (x *GHashIncrByRequest) GetField() string
func (*GHashIncrByRequest) GetKey ¶
func (x *GHashIncrByRequest) GetKey() string
func (*GHashIncrByRequest) GetValue ¶
func (x *GHashIncrByRequest) GetValue() int64
func (*GHashIncrByRequest) ProtoMessage ¶
func (*GHashIncrByRequest) ProtoMessage()
func (*GHashIncrByRequest) ProtoReflect ¶
func (x *GHashIncrByRequest) ProtoReflect() protoreflect.Message
func (*GHashIncrByRequest) Reset ¶
func (x *GHashIncrByRequest) Reset()
func (*GHashIncrByRequest) String ¶
func (x *GHashIncrByRequest) String() string
type GHashIncrByResponse ¶
type GHashIncrByResponse struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GHashIncrByResponse) Descriptor
deprecated
func (*GHashIncrByResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashIncrByResponse.ProtoReflect.Descriptor instead.
func (*GHashIncrByResponse) GetValue ¶
func (x *GHashIncrByResponse) GetValue() int64
func (*GHashIncrByResponse) ProtoMessage ¶
func (*GHashIncrByResponse) ProtoMessage()
func (*GHashIncrByResponse) ProtoReflect ¶
func (x *GHashIncrByResponse) ProtoReflect() protoreflect.Message
func (*GHashIncrByResponse) Reset ¶
func (x *GHashIncrByResponse) Reset()
func (*GHashIncrByResponse) String ¶
func (x *GHashIncrByResponse) String() string
type GHashKeysRequest ¶ added in v1.0.14
type GHashKeysRequest struct {
// contains filtered or unexported fields
}
func (*GHashKeysRequest) Descriptor
deprecated
added in
v1.0.14
func (*GHashKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashKeysRequest.ProtoReflect.Descriptor instead.
func (*GHashKeysRequest) ProtoMessage ¶ added in v1.0.14
func (*GHashKeysRequest) ProtoMessage()
func (*GHashKeysRequest) ProtoReflect ¶ added in v1.0.14
func (x *GHashKeysRequest) ProtoReflect() protoreflect.Message
func (*GHashKeysRequest) Reset ¶ added in v1.0.14
func (x *GHashKeysRequest) Reset()
func (*GHashKeysRequest) String ¶ added in v1.0.14
func (x *GHashKeysRequest) String() string
type GHashKeysResponse ¶ added in v1.0.14
type GHashKeysResponse struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*GHashKeysResponse) Descriptor
deprecated
added in
v1.0.14
func (*GHashKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashKeysResponse.ProtoReflect.Descriptor instead.
func (*GHashKeysResponse) GetKeys ¶ added in v1.0.14
func (x *GHashKeysResponse) GetKeys() []string
func (*GHashKeysResponse) ProtoMessage ¶ added in v1.0.14
func (*GHashKeysResponse) ProtoMessage()
func (*GHashKeysResponse) ProtoReflect ¶ added in v1.0.14
func (x *GHashKeysResponse) ProtoReflect() protoreflect.Message
func (*GHashKeysResponse) Reset ¶ added in v1.0.14
func (x *GHashKeysResponse) Reset()
func (*GHashKeysResponse) String ¶ added in v1.0.14
func (x *GHashKeysResponse) String() string
type GHashLenRequest ¶
type GHashLenRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GHashLenRequest) Descriptor
deprecated
func (*GHashLenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashLenRequest.ProtoReflect.Descriptor instead.
func (*GHashLenRequest) GetKey ¶
func (x *GHashLenRequest) GetKey() string
func (*GHashLenRequest) ProtoMessage ¶
func (*GHashLenRequest) ProtoMessage()
func (*GHashLenRequest) ProtoReflect ¶
func (x *GHashLenRequest) ProtoReflect() protoreflect.Message
func (*GHashLenRequest) Reset ¶
func (x *GHashLenRequest) Reset()
func (*GHashLenRequest) String ¶
func (x *GHashLenRequest) String() string
type GHashLenResponse ¶
type GHashLenResponse struct { Length int64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*GHashLenResponse) Descriptor
deprecated
func (*GHashLenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashLenResponse.ProtoReflect.Descriptor instead.
func (*GHashLenResponse) GetLength ¶
func (x *GHashLenResponse) GetLength() int64
func (*GHashLenResponse) ProtoMessage ¶
func (*GHashLenResponse) ProtoMessage()
func (*GHashLenResponse) ProtoReflect ¶
func (x *GHashLenResponse) ProtoReflect() protoreflect.Message
func (*GHashLenResponse) Reset ¶
func (x *GHashLenResponse) Reset()
func (*GHashLenResponse) String ¶
func (x *GHashLenResponse) String() string
type GHashMoveRequest ¶
type GHashMoveRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Dest string `protobuf:"bytes,3,opt,name=dest,proto3" json:"dest,omitempty"` // contains filtered or unexported fields }
func (*GHashMoveRequest) Descriptor
deprecated
func (*GHashMoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashMoveRequest.ProtoReflect.Descriptor instead.
func (*GHashMoveRequest) GetDest ¶
func (x *GHashMoveRequest) GetDest() string
func (*GHashMoveRequest) GetField ¶
func (x *GHashMoveRequest) GetField() string
func (*GHashMoveRequest) GetKey ¶
func (x *GHashMoveRequest) GetKey() string
func (*GHashMoveRequest) ProtoMessage ¶
func (*GHashMoveRequest) ProtoMessage()
func (*GHashMoveRequest) ProtoReflect ¶
func (x *GHashMoveRequest) ProtoReflect() protoreflect.Message
func (*GHashMoveRequest) Reset ¶
func (x *GHashMoveRequest) Reset()
func (*GHashMoveRequest) String ¶
func (x *GHashMoveRequest) String() string
type GHashMoveResponse ¶
type GHashMoveResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*GHashMoveResponse) Descriptor
deprecated
func (*GHashMoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashMoveResponse.ProtoReflect.Descriptor instead.
func (*GHashMoveResponse) GetOk ¶
func (x *GHashMoveResponse) GetOk() bool
func (*GHashMoveResponse) ProtoMessage ¶
func (*GHashMoveResponse) ProtoMessage()
func (*GHashMoveResponse) ProtoReflect ¶
func (x *GHashMoveResponse) ProtoReflect() protoreflect.Message
func (*GHashMoveResponse) Reset ¶
func (x *GHashMoveResponse) Reset()
func (*GHashMoveResponse) String ¶
func (x *GHashMoveResponse) String() string
type GHashServiceClient ¶
type GHashServiceClient interface { HSet(ctx context.Context, in *GHashSetRequest, opts ...grpc.CallOption) (*GHashSetResponse, error) HGet(ctx context.Context, in *GHashGetRequest, opts ...grpc.CallOption) (*GHashGetResponse, error) HDel(ctx context.Context, in *GHashDelRequest, opts ...grpc.CallOption) (*GHashDelResponse, error) HExists(ctx context.Context, in *GHashExistsRequest, opts ...grpc.CallOption) (*GHashExistsResponse, error) HLen(ctx context.Context, in *GHashLenRequest, opts ...grpc.CallOption) (*GHashLenResponse, error) HUpdate(ctx context.Context, in *GHashUpdateRequest, opts ...grpc.CallOption) (*GHashUpdateResponse, error) HIncrBy(ctx context.Context, in *GHashIncrByRequest, opts ...grpc.CallOption) (*GHashIncrByResponse, error) HIncrByFloat(ctx context.Context, in *GHashIncrByFloatRequest, opts ...grpc.CallOption) (*GHashIncrByFloatResponse, error) HDecrBy(ctx context.Context, in *GHashDecrByRequest, opts ...grpc.CallOption) (*GHashDecrByResponse, error) HStrLen(ctx context.Context, in *GHashStrLenRequest, opts ...grpc.CallOption) (*GHashStrLenResponse, error) HMove(ctx context.Context, in *GHashMoveRequest, opts ...grpc.CallOption) (*GHashMoveResponse, error) HSetNX(ctx context.Context, in *GHashSetNXRequest, opts ...grpc.CallOption) (*GHashSetNXResponse, error) HType(ctx context.Context, in *GHashTypeRequest, opts ...grpc.CallOption) (*GHashTypeResponse, error) HKeys(ctx context.Context, in *GHashKeysRequest, opts ...grpc.CallOption) (*GHashKeysResponse, error) TTL(ctx context.Context, in *GHashTTLRequest, opts ...grpc.CallOption) (*GHashTTLResponse, error) Size(ctx context.Context, in *GHashSizeRequest, opts ...grpc.CallOption) (*GHashSizeResponse, error) HExpire(ctx context.Context, in *GHashExpireRequest, opts ...grpc.CallOption) (*GHashExpireResponse, error) }
GHashServiceClient is the client API for GHashService 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 NewGHashServiceClient ¶
func NewGHashServiceClient(cc grpc.ClientConnInterface) GHashServiceClient
type GHashServiceServer ¶
type GHashServiceServer interface { HSet(context.Context, *GHashSetRequest) (*GHashSetResponse, error) HGet(context.Context, *GHashGetRequest) (*GHashGetResponse, error) HDel(context.Context, *GHashDelRequest) (*GHashDelResponse, error) HExists(context.Context, *GHashExistsRequest) (*GHashExistsResponse, error) HLen(context.Context, *GHashLenRequest) (*GHashLenResponse, error) HUpdate(context.Context, *GHashUpdateRequest) (*GHashUpdateResponse, error) HIncrBy(context.Context, *GHashIncrByRequest) (*GHashIncrByResponse, error) HIncrByFloat(context.Context, *GHashIncrByFloatRequest) (*GHashIncrByFloatResponse, error) HDecrBy(context.Context, *GHashDecrByRequest) (*GHashDecrByResponse, error) HStrLen(context.Context, *GHashStrLenRequest) (*GHashStrLenResponse, error) HMove(context.Context, *GHashMoveRequest) (*GHashMoveResponse, error) HSetNX(context.Context, *GHashSetNXRequest) (*GHashSetNXResponse, error) HType(context.Context, *GHashTypeRequest) (*GHashTypeResponse, error) HKeys(context.Context, *GHashKeysRequest) (*GHashKeysResponse, error) TTL(context.Context, *GHashTTLRequest) (*GHashTTLResponse, error) Size(context.Context, *GHashSizeRequest) (*GHashSizeResponse, error) HExpire(context.Context, *GHashExpireRequest) (*GHashExpireResponse, error) // contains filtered or unexported methods }
GHashServiceServer is the server API for GHashService service. All implementations must embed UnimplementedGHashServiceServer for forward compatibility
type GHashSetNXRequest ¶
type GHashSetNXRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // Types that are assignable to Value: // // *GHashSetNXRequest_StringValue // *GHashSetNXRequest_Int32Value // *GHashSetNXRequest_Int64Value // *GHashSetNXRequest_Float32Value // *GHashSetNXRequest_Float64Value // *GHashSetNXRequest_BoolValue // *GHashSetNXRequest_BytesValue Value isGHashSetNXRequest_Value `protobuf_oneof:"value"` Ttl int64 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*GHashSetNXRequest) Descriptor
deprecated
func (*GHashSetNXRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashSetNXRequest.ProtoReflect.Descriptor instead.
func (*GHashSetNXRequest) GetBoolValue ¶
func (x *GHashSetNXRequest) GetBoolValue() bool
func (*GHashSetNXRequest) GetBytesValue ¶
func (x *GHashSetNXRequest) GetBytesValue() []byte
func (*GHashSetNXRequest) GetField ¶
func (x *GHashSetNXRequest) GetField() string
func (*GHashSetNXRequest) GetFloat32Value ¶
func (x *GHashSetNXRequest) GetFloat32Value() float32
func (*GHashSetNXRequest) GetFloat64Value ¶
func (x *GHashSetNXRequest) GetFloat64Value() float64
func (*GHashSetNXRequest) GetInt32Value ¶
func (x *GHashSetNXRequest) GetInt32Value() int32
func (*GHashSetNXRequest) GetInt64Value ¶
func (x *GHashSetNXRequest) GetInt64Value() int64
func (*GHashSetNXRequest) GetKey ¶
func (x *GHashSetNXRequest) GetKey() string
func (*GHashSetNXRequest) GetStringValue ¶
func (x *GHashSetNXRequest) GetStringValue() string
func (*GHashSetNXRequest) GetTtl ¶ added in v1.0.14
func (x *GHashSetNXRequest) GetTtl() int64
func (*GHashSetNXRequest) GetValue ¶
func (m *GHashSetNXRequest) GetValue() isGHashSetNXRequest_Value
func (*GHashSetNXRequest) ProtoMessage ¶
func (*GHashSetNXRequest) ProtoMessage()
func (*GHashSetNXRequest) ProtoReflect ¶
func (x *GHashSetNXRequest) ProtoReflect() protoreflect.Message
func (*GHashSetNXRequest) Reset ¶
func (x *GHashSetNXRequest) Reset()
func (*GHashSetNXRequest) String ¶
func (x *GHashSetNXRequest) String() string
type GHashSetNXRequest_BoolValue ¶
type GHashSetNXRequest_BoolValue struct {
BoolValue bool `protobuf:"varint,8,opt,name=BoolValue,proto3,oneof"`
}
type GHashSetNXRequest_BytesValue ¶
type GHashSetNXRequest_BytesValue struct {
BytesValue []byte `protobuf:"bytes,9,opt,name=BytesValue,proto3,oneof"`
}
type GHashSetNXRequest_Float32Value ¶
type GHashSetNXRequest_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,6,opt,name=Float32Value,proto3,oneof"`
}
type GHashSetNXRequest_Float64Value ¶
type GHashSetNXRequest_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,7,opt,name=Float64Value,proto3,oneof"`
}
type GHashSetNXRequest_Int32Value ¶
type GHashSetNXRequest_Int32Value struct {
Int32Value int32 `protobuf:"varint,4,opt,name=Int32Value,proto3,oneof"`
}
type GHashSetNXRequest_Int64Value ¶
type GHashSetNXRequest_Int64Value struct {
Int64Value int64 `protobuf:"varint,5,opt,name=Int64Value,proto3,oneof"`
}
type GHashSetNXRequest_StringValue ¶
type GHashSetNXRequest_StringValue struct {
StringValue string `protobuf:"bytes,3,opt,name=StringValue,proto3,oneof"`
}
type GHashSetNXResponse ¶
type GHashSetNXResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*GHashSetNXResponse) Descriptor
deprecated
func (*GHashSetNXResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashSetNXResponse.ProtoReflect.Descriptor instead.
func (*GHashSetNXResponse) GetOk ¶
func (x *GHashSetNXResponse) GetOk() bool
func (*GHashSetNXResponse) ProtoMessage ¶
func (*GHashSetNXResponse) ProtoMessage()
func (*GHashSetNXResponse) ProtoReflect ¶
func (x *GHashSetNXResponse) ProtoReflect() protoreflect.Message
func (*GHashSetNXResponse) Reset ¶
func (x *GHashSetNXResponse) Reset()
func (*GHashSetNXResponse) String ¶
func (x *GHashSetNXResponse) String() string
type GHashSetRequest ¶
type GHashSetRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // Types that are assignable to Value: // // *GHashSetRequest_StringValue // *GHashSetRequest_Int32Value // *GHashSetRequest_Int64Value // *GHashSetRequest_Float32Value // *GHashSetRequest_Float64Value // *GHashSetRequest_BoolValue // *GHashSetRequest_BytesValue Value isGHashSetRequest_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*GHashSetRequest) Descriptor
deprecated
func (*GHashSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashSetRequest.ProtoReflect.Descriptor instead.
func (*GHashSetRequest) GetBoolValue ¶
func (x *GHashSetRequest) GetBoolValue() bool
func (*GHashSetRequest) GetBytesValue ¶
func (x *GHashSetRequest) GetBytesValue() []byte
func (*GHashSetRequest) GetField ¶
func (x *GHashSetRequest) GetField() string
func (*GHashSetRequest) GetFloat32Value ¶
func (x *GHashSetRequest) GetFloat32Value() float32
func (*GHashSetRequest) GetFloat64Value ¶
func (x *GHashSetRequest) GetFloat64Value() float64
func (*GHashSetRequest) GetInt32Value ¶
func (x *GHashSetRequest) GetInt32Value() int32
func (*GHashSetRequest) GetInt64Value ¶
func (x *GHashSetRequest) GetInt64Value() int64
func (*GHashSetRequest) GetKey ¶
func (x *GHashSetRequest) GetKey() string
func (*GHashSetRequest) GetStringValue ¶
func (x *GHashSetRequest) GetStringValue() string
func (*GHashSetRequest) GetValue ¶
func (m *GHashSetRequest) GetValue() isGHashSetRequest_Value
func (*GHashSetRequest) ProtoMessage ¶
func (*GHashSetRequest) ProtoMessage()
func (*GHashSetRequest) ProtoReflect ¶
func (x *GHashSetRequest) ProtoReflect() protoreflect.Message
func (*GHashSetRequest) Reset ¶
func (x *GHashSetRequest) Reset()
func (*GHashSetRequest) String ¶
func (x *GHashSetRequest) String() string
type GHashSetRequest_BoolValue ¶
type GHashSetRequest_BoolValue struct {
BoolValue bool `protobuf:"varint,8,opt,name=BoolValue,proto3,oneof"`
}
type GHashSetRequest_BytesValue ¶
type GHashSetRequest_BytesValue struct {
BytesValue []byte `protobuf:"bytes,9,opt,name=BytesValue,proto3,oneof"`
}
type GHashSetRequest_Float32Value ¶
type GHashSetRequest_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,6,opt,name=Float32Value,proto3,oneof"`
}
type GHashSetRequest_Float64Value ¶
type GHashSetRequest_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,7,opt,name=Float64Value,proto3,oneof"`
}
type GHashSetRequest_Int32Value ¶
type GHashSetRequest_Int32Value struct {
Int32Value int32 `protobuf:"varint,4,opt,name=Int32Value,proto3,oneof"`
}
type GHashSetRequest_Int64Value ¶
type GHashSetRequest_Int64Value struct {
Int64Value int64 `protobuf:"varint,5,opt,name=Int64Value,proto3,oneof"`
}
type GHashSetRequest_StringValue ¶
type GHashSetRequest_StringValue struct {
StringValue string `protobuf:"bytes,3,opt,name=StringValue,proto3,oneof"`
}
type GHashSetResponse ¶
type GHashSetResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*GHashSetResponse) Descriptor
deprecated
func (*GHashSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashSetResponse.ProtoReflect.Descriptor instead.
func (*GHashSetResponse) GetOk ¶
func (x *GHashSetResponse) GetOk() bool
func (*GHashSetResponse) ProtoMessage ¶
func (*GHashSetResponse) ProtoMessage()
func (*GHashSetResponse) ProtoReflect ¶
func (x *GHashSetResponse) ProtoReflect() protoreflect.Message
func (*GHashSetResponse) Reset ¶
func (x *GHashSetResponse) Reset()
func (*GHashSetResponse) String ¶
func (x *GHashSetResponse) String() string
type GHashSizeRequest ¶ added in v1.0.14
type GHashSizeRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GHashSizeRequest) Descriptor
deprecated
added in
v1.0.14
func (*GHashSizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashSizeRequest.ProtoReflect.Descriptor instead.
func (*GHashSizeRequest) GetKey ¶ added in v1.0.14
func (x *GHashSizeRequest) GetKey() string
func (*GHashSizeRequest) ProtoMessage ¶ added in v1.0.14
func (*GHashSizeRequest) ProtoMessage()
func (*GHashSizeRequest) ProtoReflect ¶ added in v1.0.14
func (x *GHashSizeRequest) ProtoReflect() protoreflect.Message
func (*GHashSizeRequest) Reset ¶ added in v1.0.14
func (x *GHashSizeRequest) Reset()
func (*GHashSizeRequest) String ¶ added in v1.0.14
func (x *GHashSizeRequest) String() string
type GHashSizeResponse ¶ added in v1.0.14
type GHashSizeResponse struct { Size []int64 `protobuf:"varint,1,rep,packed,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*GHashSizeResponse) Descriptor
deprecated
added in
v1.0.14
func (*GHashSizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashSizeResponse.ProtoReflect.Descriptor instead.
func (*GHashSizeResponse) GetSize ¶ added in v1.0.14
func (x *GHashSizeResponse) GetSize() []int64
func (*GHashSizeResponse) ProtoMessage ¶ added in v1.0.14
func (*GHashSizeResponse) ProtoMessage()
func (*GHashSizeResponse) ProtoReflect ¶ added in v1.0.14
func (x *GHashSizeResponse) ProtoReflect() protoreflect.Message
func (*GHashSizeResponse) Reset ¶ added in v1.0.14
func (x *GHashSizeResponse) Reset()
func (*GHashSizeResponse) String ¶ added in v1.0.14
func (x *GHashSizeResponse) String() string
type GHashStrLenRequest ¶
type GHashStrLenRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*GHashStrLenRequest) Descriptor
deprecated
func (*GHashStrLenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashStrLenRequest.ProtoReflect.Descriptor instead.
func (*GHashStrLenRequest) GetField ¶
func (x *GHashStrLenRequest) GetField() string
func (*GHashStrLenRequest) GetKey ¶
func (x *GHashStrLenRequest) GetKey() string
func (*GHashStrLenRequest) ProtoMessage ¶
func (*GHashStrLenRequest) ProtoMessage()
func (*GHashStrLenRequest) ProtoReflect ¶
func (x *GHashStrLenRequest) ProtoReflect() protoreflect.Message
func (*GHashStrLenRequest) Reset ¶
func (x *GHashStrLenRequest) Reset()
func (*GHashStrLenRequest) String ¶
func (x *GHashStrLenRequest) String() string
type GHashStrLenResponse ¶
type GHashStrLenResponse struct { Length int64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*GHashStrLenResponse) Descriptor
deprecated
func (*GHashStrLenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashStrLenResponse.ProtoReflect.Descriptor instead.
func (*GHashStrLenResponse) GetLength ¶
func (x *GHashStrLenResponse) GetLength() int64
func (*GHashStrLenResponse) ProtoMessage ¶
func (*GHashStrLenResponse) ProtoMessage()
func (*GHashStrLenResponse) ProtoReflect ¶
func (x *GHashStrLenResponse) ProtoReflect() protoreflect.Message
func (*GHashStrLenResponse) Reset ¶
func (x *GHashStrLenResponse) Reset()
func (*GHashStrLenResponse) String ¶
func (x *GHashStrLenResponse) String() string
type GHashTTLRequest ¶ added in v1.0.14
type GHashTTLRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GHashTTLRequest) Descriptor
deprecated
added in
v1.0.14
func (*GHashTTLRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashTTLRequest.ProtoReflect.Descriptor instead.
func (*GHashTTLRequest) GetKey ¶ added in v1.0.14
func (x *GHashTTLRequest) GetKey() string
func (*GHashTTLRequest) ProtoMessage ¶ added in v1.0.14
func (*GHashTTLRequest) ProtoMessage()
func (*GHashTTLRequest) ProtoReflect ¶ added in v1.0.14
func (x *GHashTTLRequest) ProtoReflect() protoreflect.Message
func (*GHashTTLRequest) Reset ¶ added in v1.0.14
func (x *GHashTTLRequest) Reset()
func (*GHashTTLRequest) String ¶ added in v1.0.14
func (x *GHashTTLRequest) String() string
type GHashTTLResponse ¶ added in v1.0.14
type GHashTTLResponse struct { Ttl int64 `protobuf:"varint,1,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*GHashTTLResponse) Descriptor
deprecated
added in
v1.0.14
func (*GHashTTLResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashTTLResponse.ProtoReflect.Descriptor instead.
func (*GHashTTLResponse) GetTtl ¶ added in v1.0.14
func (x *GHashTTLResponse) GetTtl() int64
func (*GHashTTLResponse) ProtoMessage ¶ added in v1.0.14
func (*GHashTTLResponse) ProtoMessage()
func (*GHashTTLResponse) ProtoReflect ¶ added in v1.0.14
func (x *GHashTTLResponse) ProtoReflect() protoreflect.Message
func (*GHashTTLResponse) Reset ¶ added in v1.0.14
func (x *GHashTTLResponse) Reset()
func (*GHashTTLResponse) String ¶ added in v1.0.14
func (x *GHashTTLResponse) String() string
type GHashTypeRequest ¶
type GHashTypeRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*GHashTypeRequest) Descriptor
deprecated
func (*GHashTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashTypeRequest.ProtoReflect.Descriptor instead.
func (*GHashTypeRequest) GetField ¶
func (x *GHashTypeRequest) GetField() string
func (*GHashTypeRequest) GetKey ¶
func (x *GHashTypeRequest) GetKey() string
func (*GHashTypeRequest) ProtoMessage ¶
func (*GHashTypeRequest) ProtoMessage()
func (*GHashTypeRequest) ProtoReflect ¶
func (x *GHashTypeRequest) ProtoReflect() protoreflect.Message
func (*GHashTypeRequest) Reset ¶
func (x *GHashTypeRequest) Reset()
func (*GHashTypeRequest) String ¶
func (x *GHashTypeRequest) String() string
type GHashTypeResponse ¶
type GHashTypeResponse struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GHashTypeResponse) Descriptor
deprecated
func (*GHashTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashTypeResponse.ProtoReflect.Descriptor instead.
func (*GHashTypeResponse) GetType ¶
func (x *GHashTypeResponse) GetType() string
func (*GHashTypeResponse) ProtoMessage ¶
func (*GHashTypeResponse) ProtoMessage()
func (*GHashTypeResponse) ProtoReflect ¶
func (x *GHashTypeResponse) ProtoReflect() protoreflect.Message
func (*GHashTypeResponse) Reset ¶
func (x *GHashTypeResponse) Reset()
func (*GHashTypeResponse) String ¶
func (x *GHashTypeResponse) String() string
type GHashUpdateRequest ¶
type GHashUpdateRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // Types that are assignable to Value: // // *GHashUpdateRequest_StringValue // *GHashUpdateRequest_Int32Value // *GHashUpdateRequest_Int64Value // *GHashUpdateRequest_Float32Value // *GHashUpdateRequest_Float64Value // *GHashUpdateRequest_BoolValue // *GHashUpdateRequest_BytesValue Value isGHashUpdateRequest_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*GHashUpdateRequest) Descriptor
deprecated
func (*GHashUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GHashUpdateRequest.ProtoReflect.Descriptor instead.
func (*GHashUpdateRequest) GetBoolValue ¶
func (x *GHashUpdateRequest) GetBoolValue() bool
func (*GHashUpdateRequest) GetBytesValue ¶
func (x *GHashUpdateRequest) GetBytesValue() []byte
func (*GHashUpdateRequest) GetField ¶
func (x *GHashUpdateRequest) GetField() string
func (*GHashUpdateRequest) GetFloat32Value ¶
func (x *GHashUpdateRequest) GetFloat32Value() float32
func (*GHashUpdateRequest) GetFloat64Value ¶
func (x *GHashUpdateRequest) GetFloat64Value() float64
func (*GHashUpdateRequest) GetInt32Value ¶
func (x *GHashUpdateRequest) GetInt32Value() int32
func (*GHashUpdateRequest) GetInt64Value ¶
func (x *GHashUpdateRequest) GetInt64Value() int64
func (*GHashUpdateRequest) GetKey ¶
func (x *GHashUpdateRequest) GetKey() string
func (*GHashUpdateRequest) GetStringValue ¶
func (x *GHashUpdateRequest) GetStringValue() string
func (*GHashUpdateRequest) GetValue ¶
func (m *GHashUpdateRequest) GetValue() isGHashUpdateRequest_Value
func (*GHashUpdateRequest) ProtoMessage ¶
func (*GHashUpdateRequest) ProtoMessage()
func (*GHashUpdateRequest) ProtoReflect ¶
func (x *GHashUpdateRequest) ProtoReflect() protoreflect.Message
func (*GHashUpdateRequest) Reset ¶
func (x *GHashUpdateRequest) Reset()
func (*GHashUpdateRequest) String ¶
func (x *GHashUpdateRequest) String() string
type GHashUpdateRequest_BoolValue ¶
type GHashUpdateRequest_BoolValue struct {
BoolValue bool `protobuf:"varint,8,opt,name=BoolValue,proto3,oneof"`
}
type GHashUpdateRequest_BytesValue ¶
type GHashUpdateRequest_BytesValue struct {
BytesValue []byte `protobuf:"bytes,9,opt,name=BytesValue,proto3,oneof"`
}
type GHashUpdateRequest_Float32Value ¶
type GHashUpdateRequest_Float32Value struct {
Float32Value float32 `protobuf:"fixed32,6,opt,name=Float32Value,proto3,oneof"`
}
type GHashUpdateRequest_Float64Value ¶
type GHashUpdateRequest_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,7,opt,name=Float64Value,proto3,oneof"`
}
type GHashUpdateRequest_Int32Value ¶
type GHashUpdateRequest_Int32Value struct {
Int32Value int32 `protobuf:"varint,4,opt,name=Int32Value,proto3,oneof"`
}
type GHashUpdateRequest_Int64Value ¶
type GHashUpdateRequest_Int64Value struct {
Int64Value int64 `protobuf:"varint,5,opt,name=Int64Value,proto3,oneof"`
}
type GHashUpdateRequest_StringValue ¶
type GHashUpdateRequest_StringValue struct {
StringValue string `protobuf:"bytes,3,opt,name=StringValue,proto3,oneof"`
}
type GHashUpdateResponse ¶
type GHashUpdateResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*GHashUpdateResponse) Descriptor
deprecated
func (*GHashUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GHashUpdateResponse.ProtoReflect.Descriptor instead.
func (*GHashUpdateResponse) GetOk ¶
func (x *GHashUpdateResponse) GetOk() bool
func (*GHashUpdateResponse) ProtoMessage ¶
func (*GHashUpdateResponse) ProtoMessage()
func (*GHashUpdateResponse) ProtoReflect ¶
func (x *GHashUpdateResponse) ProtoReflect() protoreflect.Message
func (*GHashUpdateResponse) Reset ¶
func (x *GHashUpdateResponse) Reset()
func (*GHashUpdateResponse) String ¶
func (x *GHashUpdateResponse) String() string
type UnimplementedGHashServiceServer ¶
type UnimplementedGHashServiceServer struct { }
UnimplementedGHashServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedGHashServiceServer) HDecrBy ¶
func (UnimplementedGHashServiceServer) HDecrBy(context.Context, *GHashDecrByRequest) (*GHashDecrByResponse, error)
func (UnimplementedGHashServiceServer) HDel ¶
func (UnimplementedGHashServiceServer) HDel(context.Context, *GHashDelRequest) (*GHashDelResponse, error)
func (UnimplementedGHashServiceServer) HExists ¶
func (UnimplementedGHashServiceServer) HExists(context.Context, *GHashExistsRequest) (*GHashExistsResponse, error)
func (UnimplementedGHashServiceServer) HExpire ¶ added in v1.1.0
func (UnimplementedGHashServiceServer) HExpire(context.Context, *GHashExpireRequest) (*GHashExpireResponse, error)
func (UnimplementedGHashServiceServer) HGet ¶
func (UnimplementedGHashServiceServer) HGet(context.Context, *GHashGetRequest) (*GHashGetResponse, error)
func (UnimplementedGHashServiceServer) HIncrBy ¶
func (UnimplementedGHashServiceServer) HIncrBy(context.Context, *GHashIncrByRequest) (*GHashIncrByResponse, error)
func (UnimplementedGHashServiceServer) HIncrByFloat ¶
func (UnimplementedGHashServiceServer) HIncrByFloat(context.Context, *GHashIncrByFloatRequest) (*GHashIncrByFloatResponse, error)
func (UnimplementedGHashServiceServer) HKeys ¶ added in v1.0.14
func (UnimplementedGHashServiceServer) HKeys(context.Context, *GHashKeysRequest) (*GHashKeysResponse, error)
func (UnimplementedGHashServiceServer) HLen ¶
func (UnimplementedGHashServiceServer) HLen(context.Context, *GHashLenRequest) (*GHashLenResponse, error)
func (UnimplementedGHashServiceServer) HMove ¶
func (UnimplementedGHashServiceServer) HMove(context.Context, *GHashMoveRequest) (*GHashMoveResponse, error)
func (UnimplementedGHashServiceServer) HSet ¶
func (UnimplementedGHashServiceServer) HSet(context.Context, *GHashSetRequest) (*GHashSetResponse, error)
func (UnimplementedGHashServiceServer) HSetNX ¶
func (UnimplementedGHashServiceServer) HSetNX(context.Context, *GHashSetNXRequest) (*GHashSetNXResponse, error)
func (UnimplementedGHashServiceServer) HStrLen ¶
func (UnimplementedGHashServiceServer) HStrLen(context.Context, *GHashStrLenRequest) (*GHashStrLenResponse, error)
func (UnimplementedGHashServiceServer) HType ¶
func (UnimplementedGHashServiceServer) HType(context.Context, *GHashTypeRequest) (*GHashTypeResponse, error)
func (UnimplementedGHashServiceServer) HUpdate ¶
func (UnimplementedGHashServiceServer) HUpdate(context.Context, *GHashUpdateRequest) (*GHashUpdateResponse, error)
func (UnimplementedGHashServiceServer) Size ¶ added in v1.0.14
func (UnimplementedGHashServiceServer) Size(context.Context, *GHashSizeRequest) (*GHashSizeResponse, error)
func (UnimplementedGHashServiceServer) TTL ¶ added in v1.0.14
func (UnimplementedGHashServiceServer) TTL(context.Context, *GHashTTLRequest) (*GHashTTLResponse, error)
type UnsafeGHashServiceServer ¶
type UnsafeGHashServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGHashServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GHashServiceServer will result in compilation errors.