Documentation ¶
Index ¶
- Variables
- func RegisterGZSetServiceServer(s grpc.ServiceRegistrar, srv GZSetServiceServer)
- type GZSetServiceClient
- type GZSetServiceServer
- type UnimplementedGZSetServiceServer
- func (UnimplementedGZSetServiceServer) ZAdd(context.Context, *ZAddRequest) (*ZAddResponse, error)
- func (UnimplementedGZSetServiceServer) ZAdds(context.Context, *ZAddsRequest) (*ZAddsResponse, error)
- func (UnimplementedGZSetServiceServer) ZCard(context.Context, *ZCardRequest) (*ZCardResponse, error)
- func (UnimplementedGZSetServiceServer) ZCount(context.Context, *ZCountRequest) (*ZCountResponse, error)
- func (UnimplementedGZSetServiceServer) ZIncrBy(context.Context, *ZIncrByRequest) (*ZIncrByResponse, error)
- func (UnimplementedGZSetServiceServer) ZRange(context.Context, *ZRangeRequest) (*ZRangeResponse, error)
- func (UnimplementedGZSetServiceServer) ZRank(context.Context, *ZRankRequest) (*ZRankResponse, error)
- func (UnimplementedGZSetServiceServer) ZRem(context.Context, *ZRemRequest) (*ZRemResponse, error)
- func (UnimplementedGZSetServiceServer) ZRems(context.Context, *ZRemsRequest) (*ZRemsResponse, error)
- func (UnimplementedGZSetServiceServer) ZRevRange(context.Context, *ZRevRangeRequest) (*ZRevRangeResponse, error)
- func (UnimplementedGZSetServiceServer) ZRevRank(context.Context, *ZRevRankRequest) (*ZRevRankResponse, error)
- func (UnimplementedGZSetServiceServer) ZScore(context.Context, *ZScoreRequest) (*ZScoreResponse, error)
- type UnsafeGZSetServiceServer
- type ZAddRequest
- func (*ZAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZAddRequest) GetKey() string
- func (x *ZAddRequest) GetMember() *ZSetValue
- func (*ZAddRequest) ProtoMessage()
- func (x *ZAddRequest) ProtoReflect() protoreflect.Message
- func (x *ZAddRequest) Reset()
- func (x *ZAddRequest) String() string
- type ZAddResponse
- func (*ZAddResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZAddResponse) GetMessage() string
- func (x *ZAddResponse) GetSuccess() bool
- func (*ZAddResponse) ProtoMessage()
- func (x *ZAddResponse) ProtoReflect() protoreflect.Message
- func (x *ZAddResponse) Reset()
- func (x *ZAddResponse) String() string
- type ZAddsRequest
- func (*ZAddsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZAddsRequest) GetKey() string
- func (x *ZAddsRequest) GetMembers() []*ZSetValue
- func (*ZAddsRequest) ProtoMessage()
- func (x *ZAddsRequest) ProtoReflect() protoreflect.Message
- func (x *ZAddsRequest) Reset()
- func (x *ZAddsRequest) String() string
- type ZAddsResponse
- func (*ZAddsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZAddsResponse) GetMessage() string
- func (x *ZAddsResponse) GetSuccess() bool
- func (*ZAddsResponse) ProtoMessage()
- func (x *ZAddsResponse) ProtoReflect() protoreflect.Message
- func (x *ZAddsResponse) Reset()
- func (x *ZAddsResponse) String() string
- type ZCardRequest
- type ZCardResponse
- type ZCountRequest
- func (*ZCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZCountRequest) GetKey() string
- func (x *ZCountRequest) GetMax() int32
- func (x *ZCountRequest) GetMin() int32
- func (*ZCountRequest) ProtoMessage()
- func (x *ZCountRequest) ProtoReflect() protoreflect.Message
- func (x *ZCountRequest) Reset()
- func (x *ZCountRequest) String() string
- type ZCountResponse
- type ZIncrByRequest
- func (*ZIncrByRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZIncrByRequest) GetIncBy() int32
- func (x *ZIncrByRequest) GetKey() string
- func (x *ZIncrByRequest) GetMember() string
- func (*ZIncrByRequest) ProtoMessage()
- func (x *ZIncrByRequest) ProtoReflect() protoreflect.Message
- func (x *ZIncrByRequest) Reset()
- func (x *ZIncrByRequest) String() string
- type ZIncrByResponse
- func (*ZIncrByResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZIncrByResponse) GetExists() bool
- func (x *ZIncrByResponse) GetNewScore() int32
- func (*ZIncrByResponse) ProtoMessage()
- func (x *ZIncrByResponse) ProtoReflect() protoreflect.Message
- func (x *ZIncrByResponse) Reset()
- func (x *ZIncrByResponse) String() string
- type ZRangeRequest
- func (*ZRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZRangeRequest) GetEnd() int32
- func (x *ZRangeRequest) GetKey() string
- func (x *ZRangeRequest) GetStart() int32
- func (*ZRangeRequest) ProtoMessage()
- func (x *ZRangeRequest) ProtoReflect() protoreflect.Message
- func (x *ZRangeRequest) Reset()
- func (x *ZRangeRequest) String() string
- type ZRangeResponse
- type ZRankRequest
- func (*ZRankRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZRankRequest) GetKey() string
- func (x *ZRankRequest) GetMember() string
- func (*ZRankRequest) ProtoMessage()
- func (x *ZRankRequest) ProtoReflect() protoreflect.Message
- func (x *ZRankRequest) Reset()
- func (x *ZRankRequest) String() string
- type ZRankResponse
- func (*ZRankResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZRankResponse) GetExists() bool
- func (x *ZRankResponse) GetRank() int32
- func (*ZRankResponse) ProtoMessage()
- func (x *ZRankResponse) ProtoReflect() protoreflect.Message
- func (x *ZRankResponse) Reset()
- func (x *ZRankResponse) String() string
- type ZRemRequest
- type ZRemResponse
- func (*ZRemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZRemResponse) GetMessage() string
- func (x *ZRemResponse) GetSuccess() bool
- func (*ZRemResponse) ProtoMessage()
- func (x *ZRemResponse) ProtoReflect() protoreflect.Message
- func (x *ZRemResponse) Reset()
- func (x *ZRemResponse) String() string
- type ZRemsRequest
- func (*ZRemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZRemsRequest) GetKey() string
- func (x *ZRemsRequest) GetMembers() []string
- func (*ZRemsRequest) ProtoMessage()
- func (x *ZRemsRequest) ProtoReflect() protoreflect.Message
- func (x *ZRemsRequest) Reset()
- func (x *ZRemsRequest) String() string
- type ZRemsResponse
- func (*ZRemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZRemsResponse) GetMessage() string
- func (x *ZRemsResponse) GetSuccess() bool
- func (*ZRemsResponse) ProtoMessage()
- func (x *ZRemsResponse) ProtoReflect() protoreflect.Message
- func (x *ZRemsResponse) Reset()
- func (x *ZRemsResponse) String() string
- type ZRevRangeRequest
- func (*ZRevRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZRevRangeRequest) GetEndRank() int32
- func (x *ZRevRangeRequest) GetKey() string
- func (x *ZRevRangeRequest) GetStartRank() int32
- func (*ZRevRangeRequest) ProtoMessage()
- func (x *ZRevRangeRequest) ProtoReflect() protoreflect.Message
- func (x *ZRevRangeRequest) Reset()
- func (x *ZRevRangeRequest) String() string
- type ZRevRangeResponse
- func (*ZRevRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZRevRangeResponse) GetMembers() []*ZSetValue
- func (*ZRevRangeResponse) ProtoMessage()
- func (x *ZRevRangeResponse) ProtoReflect() protoreflect.Message
- func (x *ZRevRangeResponse) Reset()
- func (x *ZRevRangeResponse) String() string
- type ZRevRankRequest
- func (*ZRevRankRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZRevRankRequest) GetKey() string
- func (x *ZRevRankRequest) GetMember() string
- func (*ZRevRankRequest) ProtoMessage()
- func (x *ZRevRankRequest) ProtoReflect() protoreflect.Message
- func (x *ZRevRankRequest) Reset()
- func (x *ZRevRankRequest) String() string
- type ZRevRankResponse
- func (*ZRevRankResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZRevRankResponse) GetExists() bool
- func (x *ZRevRankResponse) GetRank() int32
- func (*ZRevRankResponse) ProtoMessage()
- func (x *ZRevRankResponse) ProtoReflect() protoreflect.Message
- func (x *ZRevRankResponse) Reset()
- func (x *ZRevRankResponse) String() string
- type ZScoreRequest
- func (*ZScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZScoreRequest) GetKey() string
- func (x *ZScoreRequest) GetMember() string
- func (*ZScoreRequest) ProtoMessage()
- func (x *ZScoreRequest) ProtoReflect() protoreflect.Message
- func (x *ZScoreRequest) Reset()
- func (x *ZScoreRequest) String() string
- type ZScoreResponse
- func (*ZScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ZScoreResponse) GetExists() bool
- func (x *ZScoreResponse) GetScore() int32
- func (*ZScoreResponse) ProtoMessage()
- func (x *ZScoreResponse) ProtoReflect() protoreflect.Message
- func (x *ZScoreResponse) Reset()
- func (x *ZScoreResponse) String() string
- type ZSetValue
- func (*ZSetValue) Descriptor() ([]byte, []int)deprecated
- func (x *ZSetValue) GetMember() string
- func (x *ZSetValue) GetScore() int32
- func (x *ZSetValue) GetValue() *any1.Any
- func (*ZSetValue) ProtoMessage()
- func (x *ZSetValue) ProtoReflect() protoreflect.Message
- func (x *ZSetValue) Reset()
- func (x *ZSetValue) String() string
Constants ¶
This section is empty.
Variables ¶
var File_lib_proto_gzset_db_proto protoreflect.FileDescriptor
var GZSetService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gzset.GZSetService", HandlerType: (*GZSetServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ZAdd", Handler: _GZSetService_ZAdd_Handler, }, { MethodName: "ZAdds", Handler: _GZSetService_ZAdds_Handler, }, { MethodName: "ZRem", Handler: _GZSetService_ZRem_Handler, }, { MethodName: "ZRems", Handler: _GZSetService_ZRems_Handler, }, { MethodName: "ZScore", Handler: _GZSetService_ZScore_Handler, }, { MethodName: "ZRank", Handler: _GZSetService_ZRank_Handler, }, { MethodName: "ZRevRank", Handler: _GZSetService_ZRevRank_Handler, }, { MethodName: "ZRange", Handler: _GZSetService_ZRange_Handler, }, { MethodName: "ZCount", Handler: _GZSetService_ZCount_Handler, }, { MethodName: "ZRevRange", Handler: _GZSetService_ZRevRange_Handler, }, { MethodName: "ZCard", Handler: _GZSetService_ZCard_Handler, }, { MethodName: "ZIncrBy", Handler: _GZSetService_ZIncrBy_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "lib/proto/gzset/db.proto", }
GZSetService_ServiceDesc is the grpc.ServiceDesc for GZSetService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGZSetServiceServer ¶
func RegisterGZSetServiceServer(s grpc.ServiceRegistrar, srv GZSetServiceServer)
Types ¶
type GZSetServiceClient ¶
type GZSetServiceClient interface { ZAdd(ctx context.Context, in *ZAddRequest, opts ...grpc.CallOption) (*ZAddResponse, error) ZAdds(ctx context.Context, in *ZAddsRequest, opts ...grpc.CallOption) (*ZAddsResponse, error) ZRem(ctx context.Context, in *ZRemRequest, opts ...grpc.CallOption) (*ZRemResponse, error) ZRems(ctx context.Context, in *ZRemsRequest, opts ...grpc.CallOption) (*ZRemsResponse, error) ZScore(ctx context.Context, in *ZScoreRequest, opts ...grpc.CallOption) (*ZScoreResponse, error) ZRank(ctx context.Context, in *ZRankRequest, opts ...grpc.CallOption) (*ZRankResponse, error) ZRevRank(ctx context.Context, in *ZRevRankRequest, opts ...grpc.CallOption) (*ZRevRankResponse, error) ZRange(ctx context.Context, in *ZRangeRequest, opts ...grpc.CallOption) (*ZRangeResponse, error) ZCount(ctx context.Context, in *ZCountRequest, opts ...grpc.CallOption) (*ZCountResponse, error) ZRevRange(ctx context.Context, in *ZRevRangeRequest, opts ...grpc.CallOption) (*ZRevRangeResponse, error) ZCard(ctx context.Context, in *ZCardRequest, opts ...grpc.CallOption) (*ZCardResponse, error) ZIncrBy(ctx context.Context, in *ZIncrByRequest, opts ...grpc.CallOption) (*ZIncrByResponse, error) }
GZSetServiceClient is the client API for GZSetService 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 NewGZSetServiceClient ¶
func NewGZSetServiceClient(cc grpc.ClientConnInterface) GZSetServiceClient
type GZSetServiceServer ¶
type GZSetServiceServer interface { ZAdd(context.Context, *ZAddRequest) (*ZAddResponse, error) ZAdds(context.Context, *ZAddsRequest) (*ZAddsResponse, error) ZRem(context.Context, *ZRemRequest) (*ZRemResponse, error) ZRems(context.Context, *ZRemsRequest) (*ZRemsResponse, error) ZScore(context.Context, *ZScoreRequest) (*ZScoreResponse, error) ZRank(context.Context, *ZRankRequest) (*ZRankResponse, error) ZRevRank(context.Context, *ZRevRankRequest) (*ZRevRankResponse, error) ZRange(context.Context, *ZRangeRequest) (*ZRangeResponse, error) ZCount(context.Context, *ZCountRequest) (*ZCountResponse, error) ZRevRange(context.Context, *ZRevRangeRequest) (*ZRevRangeResponse, error) ZCard(context.Context, *ZCardRequest) (*ZCardResponse, error) ZIncrBy(context.Context, *ZIncrByRequest) (*ZIncrByResponse, error) // contains filtered or unexported methods }
GZSetServiceServer is the server API for GZSetService service. All implementations must embed UnimplementedGZSetServiceServer for forward compatibility
type UnimplementedGZSetServiceServer ¶
type UnimplementedGZSetServiceServer struct { }
UnimplementedGZSetServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedGZSetServiceServer) ZAdd ¶
func (UnimplementedGZSetServiceServer) ZAdd(context.Context, *ZAddRequest) (*ZAddResponse, error)
func (UnimplementedGZSetServiceServer) ZAdds ¶
func (UnimplementedGZSetServiceServer) ZAdds(context.Context, *ZAddsRequest) (*ZAddsResponse, error)
func (UnimplementedGZSetServiceServer) ZCard ¶
func (UnimplementedGZSetServiceServer) ZCard(context.Context, *ZCardRequest) (*ZCardResponse, error)
func (UnimplementedGZSetServiceServer) ZCount ¶
func (UnimplementedGZSetServiceServer) ZCount(context.Context, *ZCountRequest) (*ZCountResponse, error)
func (UnimplementedGZSetServiceServer) ZIncrBy ¶
func (UnimplementedGZSetServiceServer) ZIncrBy(context.Context, *ZIncrByRequest) (*ZIncrByResponse, error)
func (UnimplementedGZSetServiceServer) ZRange ¶
func (UnimplementedGZSetServiceServer) ZRange(context.Context, *ZRangeRequest) (*ZRangeResponse, error)
func (UnimplementedGZSetServiceServer) ZRank ¶
func (UnimplementedGZSetServiceServer) ZRank(context.Context, *ZRankRequest) (*ZRankResponse, error)
func (UnimplementedGZSetServiceServer) ZRem ¶
func (UnimplementedGZSetServiceServer) ZRem(context.Context, *ZRemRequest) (*ZRemResponse, error)
func (UnimplementedGZSetServiceServer) ZRems ¶
func (UnimplementedGZSetServiceServer) ZRems(context.Context, *ZRemsRequest) (*ZRemsResponse, error)
func (UnimplementedGZSetServiceServer) ZRevRange ¶
func (UnimplementedGZSetServiceServer) ZRevRange(context.Context, *ZRevRangeRequest) (*ZRevRangeResponse, error)
func (UnimplementedGZSetServiceServer) ZRevRank ¶
func (UnimplementedGZSetServiceServer) ZRevRank(context.Context, *ZRevRankRequest) (*ZRevRankResponse, error)
func (UnimplementedGZSetServiceServer) ZScore ¶
func (UnimplementedGZSetServiceServer) ZScore(context.Context, *ZScoreRequest) (*ZScoreResponse, error)
type UnsafeGZSetServiceServer ¶
type UnsafeGZSetServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGZSetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GZSetServiceServer will result in compilation errors.
type ZAddRequest ¶
type ZAddRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Member *ZSetValue `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // contains filtered or unexported fields }
func (*ZAddRequest) Descriptor
deprecated
func (*ZAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZAddRequest.ProtoReflect.Descriptor instead.
func (*ZAddRequest) GetKey ¶
func (x *ZAddRequest) GetKey() string
func (*ZAddRequest) GetMember ¶
func (x *ZAddRequest) GetMember() *ZSetValue
func (*ZAddRequest) ProtoMessage ¶
func (*ZAddRequest) ProtoMessage()
func (*ZAddRequest) ProtoReflect ¶
func (x *ZAddRequest) ProtoReflect() protoreflect.Message
func (*ZAddRequest) Reset ¶
func (x *ZAddRequest) Reset()
func (*ZAddRequest) String ¶
func (x *ZAddRequest) String() string
type ZAddResponse ¶
type ZAddResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ZAddResponse) Descriptor
deprecated
func (*ZAddResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZAddResponse.ProtoReflect.Descriptor instead.
func (*ZAddResponse) GetMessage ¶
func (x *ZAddResponse) GetMessage() string
func (*ZAddResponse) GetSuccess ¶
func (x *ZAddResponse) GetSuccess() bool
func (*ZAddResponse) ProtoMessage ¶
func (*ZAddResponse) ProtoMessage()
func (*ZAddResponse) ProtoReflect ¶
func (x *ZAddResponse) ProtoReflect() protoreflect.Message
func (*ZAddResponse) Reset ¶
func (x *ZAddResponse) Reset()
func (*ZAddResponse) String ¶
func (x *ZAddResponse) String() string
type ZAddsRequest ¶
type ZAddsRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Members []*ZSetValue `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*ZAddsRequest) Descriptor
deprecated
func (*ZAddsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZAddsRequest.ProtoReflect.Descriptor instead.
func (*ZAddsRequest) GetKey ¶
func (x *ZAddsRequest) GetKey() string
func (*ZAddsRequest) GetMembers ¶
func (x *ZAddsRequest) GetMembers() []*ZSetValue
func (*ZAddsRequest) ProtoMessage ¶
func (*ZAddsRequest) ProtoMessage()
func (*ZAddsRequest) ProtoReflect ¶
func (x *ZAddsRequest) ProtoReflect() protoreflect.Message
func (*ZAddsRequest) Reset ¶
func (x *ZAddsRequest) Reset()
func (*ZAddsRequest) String ¶
func (x *ZAddsRequest) String() string
type ZAddsResponse ¶
type ZAddsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ZAddsResponse) Descriptor
deprecated
func (*ZAddsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZAddsResponse.ProtoReflect.Descriptor instead.
func (*ZAddsResponse) GetMessage ¶
func (x *ZAddsResponse) GetMessage() string
func (*ZAddsResponse) GetSuccess ¶
func (x *ZAddsResponse) GetSuccess() bool
func (*ZAddsResponse) ProtoMessage ¶
func (*ZAddsResponse) ProtoMessage()
func (*ZAddsResponse) ProtoReflect ¶
func (x *ZAddsResponse) ProtoReflect() protoreflect.Message
func (*ZAddsResponse) Reset ¶
func (x *ZAddsResponse) Reset()
func (*ZAddsResponse) String ¶
func (x *ZAddsResponse) String() string
type ZCardRequest ¶
type ZCardRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ZCardRequest) Descriptor
deprecated
func (*ZCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZCardRequest.ProtoReflect.Descriptor instead.
func (*ZCardRequest) GetKey ¶
func (x *ZCardRequest) GetKey() string
func (*ZCardRequest) ProtoMessage ¶
func (*ZCardRequest) ProtoMessage()
func (*ZCardRequest) ProtoReflect ¶
func (x *ZCardRequest) ProtoReflect() protoreflect.Message
func (*ZCardRequest) Reset ¶
func (x *ZCardRequest) Reset()
func (*ZCardRequest) String ¶
func (x *ZCardRequest) String() string
type ZCardResponse ¶
type ZCardResponse struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ZCardResponse) Descriptor
deprecated
func (*ZCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZCardResponse.ProtoReflect.Descriptor instead.
func (*ZCardResponse) GetCount ¶
func (x *ZCardResponse) GetCount() int32
func (*ZCardResponse) ProtoMessage ¶
func (*ZCardResponse) ProtoMessage()
func (*ZCardResponse) ProtoReflect ¶
func (x *ZCardResponse) ProtoReflect() protoreflect.Message
func (*ZCardResponse) Reset ¶
func (x *ZCardResponse) Reset()
func (*ZCardResponse) String ¶
func (x *ZCardResponse) String() string
type ZCountRequest ¶
type ZCountRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Min int32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` Max int32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*ZCountRequest) Descriptor
deprecated
func (*ZCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZCountRequest.ProtoReflect.Descriptor instead.
func (*ZCountRequest) GetKey ¶
func (x *ZCountRequest) GetKey() string
func (*ZCountRequest) GetMax ¶
func (x *ZCountRequest) GetMax() int32
func (*ZCountRequest) GetMin ¶
func (x *ZCountRequest) GetMin() int32
func (*ZCountRequest) ProtoMessage ¶
func (*ZCountRequest) ProtoMessage()
func (*ZCountRequest) ProtoReflect ¶
func (x *ZCountRequest) ProtoReflect() protoreflect.Message
func (*ZCountRequest) Reset ¶
func (x *ZCountRequest) Reset()
func (*ZCountRequest) String ¶
func (x *ZCountRequest) String() string
type ZCountResponse ¶
type ZCountResponse struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ZCountResponse) Descriptor
deprecated
func (*ZCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZCountResponse.ProtoReflect.Descriptor instead.
func (*ZCountResponse) GetCount ¶
func (x *ZCountResponse) GetCount() int32
func (*ZCountResponse) ProtoMessage ¶
func (*ZCountResponse) ProtoMessage()
func (*ZCountResponse) ProtoReflect ¶
func (x *ZCountResponse) ProtoReflect() protoreflect.Message
func (*ZCountResponse) Reset ¶
func (x *ZCountResponse) Reset()
func (*ZCountResponse) String ¶
func (x *ZCountResponse) String() string
type ZIncrByRequest ¶
type ZIncrByRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` IncBy int32 `protobuf:"varint,3,opt,name=incBy,proto3" json:"incBy,omitempty"` // contains filtered or unexported fields }
func (*ZIncrByRequest) Descriptor
deprecated
func (*ZIncrByRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZIncrByRequest.ProtoReflect.Descriptor instead.
func (*ZIncrByRequest) GetIncBy ¶
func (x *ZIncrByRequest) GetIncBy() int32
func (*ZIncrByRequest) GetKey ¶
func (x *ZIncrByRequest) GetKey() string
func (*ZIncrByRequest) GetMember ¶
func (x *ZIncrByRequest) GetMember() string
func (*ZIncrByRequest) ProtoMessage ¶
func (*ZIncrByRequest) ProtoMessage()
func (*ZIncrByRequest) ProtoReflect ¶
func (x *ZIncrByRequest) ProtoReflect() protoreflect.Message
func (*ZIncrByRequest) Reset ¶
func (x *ZIncrByRequest) Reset()
func (*ZIncrByRequest) String ¶
func (x *ZIncrByRequest) String() string
type ZIncrByResponse ¶
type ZIncrByResponse struct { NewScore int32 `protobuf:"varint,1,opt,name=newScore,proto3" json:"newScore,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*ZIncrByResponse) Descriptor
deprecated
func (*ZIncrByResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZIncrByResponse.ProtoReflect.Descriptor instead.
func (*ZIncrByResponse) GetExists ¶
func (x *ZIncrByResponse) GetExists() bool
func (*ZIncrByResponse) GetNewScore ¶
func (x *ZIncrByResponse) GetNewScore() int32
func (*ZIncrByResponse) ProtoMessage ¶
func (*ZIncrByResponse) ProtoMessage()
func (*ZIncrByResponse) ProtoReflect ¶
func (x *ZIncrByResponse) ProtoReflect() protoreflect.Message
func (*ZIncrByResponse) Reset ¶
func (x *ZIncrByResponse) Reset()
func (*ZIncrByResponse) String ¶
func (x *ZIncrByResponse) String() string
type ZRangeRequest ¶
type ZRangeRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Start int32 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` End int32 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*ZRangeRequest) Descriptor
deprecated
func (*ZRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZRangeRequest.ProtoReflect.Descriptor instead.
func (*ZRangeRequest) GetEnd ¶
func (x *ZRangeRequest) GetEnd() int32
func (*ZRangeRequest) GetKey ¶
func (x *ZRangeRequest) GetKey() string
func (*ZRangeRequest) GetStart ¶
func (x *ZRangeRequest) GetStart() int32
func (*ZRangeRequest) ProtoMessage ¶
func (*ZRangeRequest) ProtoMessage()
func (*ZRangeRequest) ProtoReflect ¶
func (x *ZRangeRequest) ProtoReflect() protoreflect.Message
func (*ZRangeRequest) Reset ¶
func (x *ZRangeRequest) Reset()
func (*ZRangeRequest) String ¶
func (x *ZRangeRequest) String() string
type ZRangeResponse ¶
type ZRangeResponse struct { Members []*ZSetValue `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*ZRangeResponse) Descriptor
deprecated
func (*ZRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZRangeResponse.ProtoReflect.Descriptor instead.
func (*ZRangeResponse) GetMembers ¶
func (x *ZRangeResponse) GetMembers() []*ZSetValue
func (*ZRangeResponse) ProtoMessage ¶
func (*ZRangeResponse) ProtoMessage()
func (*ZRangeResponse) ProtoReflect ¶
func (x *ZRangeResponse) ProtoReflect() protoreflect.Message
func (*ZRangeResponse) Reset ¶
func (x *ZRangeResponse) Reset()
func (*ZRangeResponse) String ¶
func (x *ZRangeResponse) String() string
type ZRankRequest ¶
type ZRankRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // contains filtered or unexported fields }
func (*ZRankRequest) Descriptor
deprecated
func (*ZRankRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZRankRequest.ProtoReflect.Descriptor instead.
func (*ZRankRequest) GetKey ¶
func (x *ZRankRequest) GetKey() string
func (*ZRankRequest) GetMember ¶
func (x *ZRankRequest) GetMember() string
func (*ZRankRequest) ProtoMessage ¶
func (*ZRankRequest) ProtoMessage()
func (*ZRankRequest) ProtoReflect ¶
func (x *ZRankRequest) ProtoReflect() protoreflect.Message
func (*ZRankRequest) Reset ¶
func (x *ZRankRequest) Reset()
func (*ZRankRequest) String ¶
func (x *ZRankRequest) String() string
type ZRankResponse ¶
type ZRankResponse struct { Rank int32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*ZRankResponse) Descriptor
deprecated
func (*ZRankResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZRankResponse.ProtoReflect.Descriptor instead.
func (*ZRankResponse) GetExists ¶
func (x *ZRankResponse) GetExists() bool
func (*ZRankResponse) GetRank ¶
func (x *ZRankResponse) GetRank() int32
func (*ZRankResponse) ProtoMessage ¶
func (*ZRankResponse) ProtoMessage()
func (*ZRankResponse) ProtoReflect ¶
func (x *ZRankResponse) ProtoReflect() protoreflect.Message
func (*ZRankResponse) Reset ¶
func (x *ZRankResponse) Reset()
func (*ZRankResponse) String ¶
func (x *ZRankResponse) String() string
type ZRemRequest ¶
type ZRemRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // contains filtered or unexported fields }
func (*ZRemRequest) Descriptor
deprecated
func (*ZRemRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZRemRequest.ProtoReflect.Descriptor instead.
func (*ZRemRequest) GetKey ¶
func (x *ZRemRequest) GetKey() string
func (*ZRemRequest) GetMember ¶
func (x *ZRemRequest) GetMember() string
func (*ZRemRequest) ProtoMessage ¶
func (*ZRemRequest) ProtoMessage()
func (*ZRemRequest) ProtoReflect ¶
func (x *ZRemRequest) ProtoReflect() protoreflect.Message
func (*ZRemRequest) Reset ¶
func (x *ZRemRequest) Reset()
func (*ZRemRequest) String ¶
func (x *ZRemRequest) String() string
type ZRemResponse ¶
type ZRemResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ZRemResponse) Descriptor
deprecated
func (*ZRemResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZRemResponse.ProtoReflect.Descriptor instead.
func (*ZRemResponse) GetMessage ¶
func (x *ZRemResponse) GetMessage() string
func (*ZRemResponse) GetSuccess ¶
func (x *ZRemResponse) GetSuccess() bool
func (*ZRemResponse) ProtoMessage ¶
func (*ZRemResponse) ProtoMessage()
func (*ZRemResponse) ProtoReflect ¶
func (x *ZRemResponse) ProtoReflect() protoreflect.Message
func (*ZRemResponse) Reset ¶
func (x *ZRemResponse) Reset()
func (*ZRemResponse) String ¶
func (x *ZRemResponse) String() string
type ZRemsRequest ¶
type ZRemsRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*ZRemsRequest) Descriptor
deprecated
func (*ZRemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZRemsRequest.ProtoReflect.Descriptor instead.
func (*ZRemsRequest) GetKey ¶
func (x *ZRemsRequest) GetKey() string
func (*ZRemsRequest) GetMembers ¶
func (x *ZRemsRequest) GetMembers() []string
func (*ZRemsRequest) ProtoMessage ¶
func (*ZRemsRequest) ProtoMessage()
func (*ZRemsRequest) ProtoReflect ¶
func (x *ZRemsRequest) ProtoReflect() protoreflect.Message
func (*ZRemsRequest) Reset ¶
func (x *ZRemsRequest) Reset()
func (*ZRemsRequest) String ¶
func (x *ZRemsRequest) String() string
type ZRemsResponse ¶
type ZRemsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ZRemsResponse) Descriptor
deprecated
func (*ZRemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZRemsResponse.ProtoReflect.Descriptor instead.
func (*ZRemsResponse) GetMessage ¶
func (x *ZRemsResponse) GetMessage() string
func (*ZRemsResponse) GetSuccess ¶
func (x *ZRemsResponse) GetSuccess() bool
func (*ZRemsResponse) ProtoMessage ¶
func (*ZRemsResponse) ProtoMessage()
func (*ZRemsResponse) ProtoReflect ¶
func (x *ZRemsResponse) ProtoReflect() protoreflect.Message
func (*ZRemsResponse) Reset ¶
func (x *ZRemsResponse) Reset()
func (*ZRemsResponse) String ¶
func (x *ZRemsResponse) String() string
type ZRevRangeRequest ¶
type ZRevRangeRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` StartRank int32 `protobuf:"varint,2,opt,name=startRank,proto3" json:"startRank,omitempty"` EndRank int32 `protobuf:"varint,3,opt,name=endRank,proto3" json:"endRank,omitempty"` // contains filtered or unexported fields }
func (*ZRevRangeRequest) Descriptor
deprecated
func (*ZRevRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZRevRangeRequest.ProtoReflect.Descriptor instead.
func (*ZRevRangeRequest) GetEndRank ¶
func (x *ZRevRangeRequest) GetEndRank() int32
func (*ZRevRangeRequest) GetKey ¶
func (x *ZRevRangeRequest) GetKey() string
func (*ZRevRangeRequest) GetStartRank ¶
func (x *ZRevRangeRequest) GetStartRank() int32
func (*ZRevRangeRequest) ProtoMessage ¶
func (*ZRevRangeRequest) ProtoMessage()
func (*ZRevRangeRequest) ProtoReflect ¶
func (x *ZRevRangeRequest) ProtoReflect() protoreflect.Message
func (*ZRevRangeRequest) Reset ¶
func (x *ZRevRangeRequest) Reset()
func (*ZRevRangeRequest) String ¶
func (x *ZRevRangeRequest) String() string
type ZRevRangeResponse ¶
type ZRevRangeResponse struct { Members []*ZSetValue `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*ZRevRangeResponse) Descriptor
deprecated
func (*ZRevRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZRevRangeResponse.ProtoReflect.Descriptor instead.
func (*ZRevRangeResponse) GetMembers ¶
func (x *ZRevRangeResponse) GetMembers() []*ZSetValue
func (*ZRevRangeResponse) ProtoMessage ¶
func (*ZRevRangeResponse) ProtoMessage()
func (*ZRevRangeResponse) ProtoReflect ¶
func (x *ZRevRangeResponse) ProtoReflect() protoreflect.Message
func (*ZRevRangeResponse) Reset ¶
func (x *ZRevRangeResponse) Reset()
func (*ZRevRangeResponse) String ¶
func (x *ZRevRangeResponse) String() string
type ZRevRankRequest ¶
type ZRevRankRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // contains filtered or unexported fields }
func (*ZRevRankRequest) Descriptor
deprecated
func (*ZRevRankRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZRevRankRequest.ProtoReflect.Descriptor instead.
func (*ZRevRankRequest) GetKey ¶
func (x *ZRevRankRequest) GetKey() string
func (*ZRevRankRequest) GetMember ¶
func (x *ZRevRankRequest) GetMember() string
func (*ZRevRankRequest) ProtoMessage ¶
func (*ZRevRankRequest) ProtoMessage()
func (*ZRevRankRequest) ProtoReflect ¶
func (x *ZRevRankRequest) ProtoReflect() protoreflect.Message
func (*ZRevRankRequest) Reset ¶
func (x *ZRevRankRequest) Reset()
func (*ZRevRankRequest) String ¶
func (x *ZRevRankRequest) String() string
type ZRevRankResponse ¶
type ZRevRankResponse struct { Rank int32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*ZRevRankResponse) Descriptor
deprecated
func (*ZRevRankResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZRevRankResponse.ProtoReflect.Descriptor instead.
func (*ZRevRankResponse) GetExists ¶
func (x *ZRevRankResponse) GetExists() bool
func (*ZRevRankResponse) GetRank ¶
func (x *ZRevRankResponse) GetRank() int32
func (*ZRevRankResponse) ProtoMessage ¶
func (*ZRevRankResponse) ProtoMessage()
func (*ZRevRankResponse) ProtoReflect ¶
func (x *ZRevRankResponse) ProtoReflect() protoreflect.Message
func (*ZRevRankResponse) Reset ¶
func (x *ZRevRankResponse) Reset()
func (*ZRevRankResponse) String ¶
func (x *ZRevRankResponse) String() string
type ZScoreRequest ¶
type ZScoreRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // contains filtered or unexported fields }
func (*ZScoreRequest) Descriptor
deprecated
func (*ZScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZScoreRequest.ProtoReflect.Descriptor instead.
func (*ZScoreRequest) GetKey ¶
func (x *ZScoreRequest) GetKey() string
func (*ZScoreRequest) GetMember ¶
func (x *ZScoreRequest) GetMember() string
func (*ZScoreRequest) ProtoMessage ¶
func (*ZScoreRequest) ProtoMessage()
func (*ZScoreRequest) ProtoReflect ¶
func (x *ZScoreRequest) ProtoReflect() protoreflect.Message
func (*ZScoreRequest) Reset ¶
func (x *ZScoreRequest) Reset()
func (*ZScoreRequest) String ¶
func (x *ZScoreRequest) String() string
type ZScoreResponse ¶
type ZScoreResponse struct { Score int32 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*ZScoreResponse) Descriptor
deprecated
func (*ZScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use ZScoreResponse.ProtoReflect.Descriptor instead.
func (*ZScoreResponse) GetExists ¶
func (x *ZScoreResponse) GetExists() bool
func (*ZScoreResponse) GetScore ¶
func (x *ZScoreResponse) GetScore() int32
func (*ZScoreResponse) ProtoMessage ¶
func (*ZScoreResponse) ProtoMessage()
func (*ZScoreResponse) ProtoReflect ¶
func (x *ZScoreResponse) ProtoReflect() protoreflect.Message
func (*ZScoreResponse) Reset ¶
func (x *ZScoreResponse) Reset()
func (*ZScoreResponse) String ¶
func (x *ZScoreResponse) String() string
type ZSetValue ¶
type ZSetValue struct { Score int32 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"` Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` Value *any1.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ZSetValue) Descriptor
deprecated
func (*ZSetValue) ProtoMessage ¶
func (*ZSetValue) ProtoMessage()
func (*ZSetValue) ProtoReflect ¶
func (x *ZSetValue) ProtoReflect() protoreflect.Message