You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1351 lines
50 KiB
1351 lines
50 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1
|
|
// protoc v3.15.5
|
|
// source: cache/cache.proto
|
|
|
|
package cache
|
|
|
|
import (
|
|
context "context"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type CommonResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
|
|
}
|
|
|
|
func (x *CommonResp) Reset() {
|
|
*x = CommonResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CommonResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CommonResp) ProtoMessage() {}
|
|
|
|
func (x *CommonResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CommonResp.ProtoReflect.Descriptor instead.
|
|
func (*CommonResp) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CommonResp) GetErrCode() int32 {
|
|
if x != nil {
|
|
return x.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CommonResp) GetErrMsg() string {
|
|
if x != nil {
|
|
return x.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetFriendIDListFromCacheReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
}
|
|
|
|
func (x *GetFriendIDListFromCacheReq) Reset() {
|
|
*x = GetFriendIDListFromCacheReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetFriendIDListFromCacheReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetFriendIDListFromCacheReq) ProtoMessage() {}
|
|
|
|
func (x *GetFriendIDListFromCacheReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetFriendIDListFromCacheReq.ProtoReflect.Descriptor instead.
|
|
func (*GetFriendIDListFromCacheReq) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetFriendIDListFromCacheReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetFriendIDListFromCacheReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetFriendIDListFromCacheResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"`
|
|
CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *GetFriendIDListFromCacheResp) Reset() {
|
|
*x = GetFriendIDListFromCacheResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetFriendIDListFromCacheResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetFriendIDListFromCacheResp) ProtoMessage() {}
|
|
|
|
func (x *GetFriendIDListFromCacheResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetFriendIDListFromCacheResp.ProtoReflect.Descriptor instead.
|
|
func (*GetFriendIDListFromCacheResp) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetFriendIDListFromCacheResp) GetUserIDList() []string {
|
|
if x != nil {
|
|
return x.UserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetFriendIDListFromCacheResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DelFriendIDListFromCacheReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
}
|
|
|
|
func (x *DelFriendIDListFromCacheReq) Reset() {
|
|
*x = DelFriendIDListFromCacheReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DelFriendIDListFromCacheReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelFriendIDListFromCacheReq) ProtoMessage() {}
|
|
|
|
func (x *DelFriendIDListFromCacheReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DelFriendIDListFromCacheReq.ProtoReflect.Descriptor instead.
|
|
func (*DelFriendIDListFromCacheReq) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DelFriendIDListFromCacheReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DelFriendIDListFromCacheReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DelFriendIDListFromCacheResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *DelFriendIDListFromCacheResp) Reset() {
|
|
*x = DelFriendIDListFromCacheResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DelFriendIDListFromCacheResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelFriendIDListFromCacheResp) ProtoMessage() {}
|
|
|
|
func (x *DelFriendIDListFromCacheResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DelFriendIDListFromCacheResp.ProtoReflect.Descriptor instead.
|
|
func (*DelFriendIDListFromCacheResp) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DelFriendIDListFromCacheResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetBlackIDListFromCacheReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
}
|
|
|
|
func (x *GetBlackIDListFromCacheReq) Reset() {
|
|
*x = GetBlackIDListFromCacheReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBlackIDListFromCacheReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBlackIDListFromCacheReq) ProtoMessage() {}
|
|
|
|
func (x *GetBlackIDListFromCacheReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBlackIDListFromCacheReq.ProtoReflect.Descriptor instead.
|
|
func (*GetBlackIDListFromCacheReq) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetBlackIDListFromCacheReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetBlackIDListFromCacheReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBlackIDListFromCacheResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"`
|
|
CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *GetBlackIDListFromCacheResp) Reset() {
|
|
*x = GetBlackIDListFromCacheResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBlackIDListFromCacheResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBlackIDListFromCacheResp) ProtoMessage() {}
|
|
|
|
func (x *GetBlackIDListFromCacheResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBlackIDListFromCacheResp.ProtoReflect.Descriptor instead.
|
|
func (*GetBlackIDListFromCacheResp) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetBlackIDListFromCacheResp) GetUserIDList() []string {
|
|
if x != nil {
|
|
return x.UserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetBlackIDListFromCacheResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DelBlackIDListFromCacheReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
}
|
|
|
|
func (x *DelBlackIDListFromCacheReq) Reset() {
|
|
*x = DelBlackIDListFromCacheReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DelBlackIDListFromCacheReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelBlackIDListFromCacheReq) ProtoMessage() {}
|
|
|
|
func (x *DelBlackIDListFromCacheReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DelBlackIDListFromCacheReq.ProtoReflect.Descriptor instead.
|
|
func (*DelBlackIDListFromCacheReq) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *DelBlackIDListFromCacheReq) GetUserID() string {
|
|
if x != nil {
|
|
return x.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DelBlackIDListFromCacheReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DelBlackIDListFromCacheResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *DelBlackIDListFromCacheResp) Reset() {
|
|
*x = DelBlackIDListFromCacheResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DelBlackIDListFromCacheResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelBlackIDListFromCacheResp) ProtoMessage() {}
|
|
|
|
func (x *DelBlackIDListFromCacheResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DelBlackIDListFromCacheResp.ProtoReflect.Descriptor instead.
|
|
func (*DelBlackIDListFromCacheResp) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DelBlackIDListFromCacheResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupMemberIDListFromCacheReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OperationID string `protobuf:"bytes,1,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheReq) Reset() {
|
|
*x = GetGroupMemberIDListFromCacheReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupMemberIDListFromCacheReq) ProtoMessage() {}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupMemberIDListFromCacheReq.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupMemberIDListFromCacheReq) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheReq) GetGroupID() string {
|
|
if x != nil {
|
|
return x.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupMemberIDListFromCacheResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
UserIDList []string `protobuf:"bytes,2,rep,name=userIDList,proto3" json:"userIDList,omitempty"`
|
|
}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheResp) Reset() {
|
|
*x = GetGroupMemberIDListFromCacheResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGroupMemberIDListFromCacheResp) ProtoMessage() {}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGroupMemberIDListFromCacheResp.ProtoReflect.Descriptor instead.
|
|
func (*GetGroupMemberIDListFromCacheResp) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetGroupMemberIDListFromCacheResp) GetUserIDList() []string {
|
|
if x != nil {
|
|
return x.UserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DelGroupMemberIDListFromCacheReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
|
}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheReq) Reset() {
|
|
*x = DelGroupMemberIDListFromCacheReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelGroupMemberIDListFromCacheReq) ProtoMessage() {}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DelGroupMemberIDListFromCacheReq.ProtoReflect.Descriptor instead.
|
|
func (*DelGroupMemberIDListFromCacheReq) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheReq) GetGroupID() string {
|
|
if x != nil {
|
|
return x.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheReq) GetOperationID() string {
|
|
if x != nil {
|
|
return x.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DelGroupMemberIDListFromCacheResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
|
|
}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheResp) Reset() {
|
|
*x = DelGroupMemberIDListFromCacheResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cache_cache_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelGroupMemberIDListFromCacheResp) ProtoMessage() {}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cache_cache_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DelGroupMemberIDListFromCacheResp.ProtoReflect.Descriptor instead.
|
|
func (*DelGroupMemberIDListFromCacheResp) Descriptor() ([]byte, []int) {
|
|
return file_cache_cache_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *DelGroupMemberIDListFromCacheResp) GetCommonResp() *CommonResp {
|
|
if x != nil {
|
|
return x.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_cache_cache_proto protoreflect.FileDescriptor
|
|
|
|
var file_cache_cache_proto_rawDesc = []byte{
|
|
0x0a, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x12, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, 0x3e, 0x0a, 0x0a, 0x43, 0x6f,
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43,
|
|
0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f,
|
|
0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x57, 0x0a, 0x1b, 0x47, 0x65,
|
|
0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f,
|
|
0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65,
|
|
0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
|
|
0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x22, 0x71, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
|
|
0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73,
|
|
0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c,
|
|
0x69, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x57, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x46, 0x72, 0x69,
|
|
0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63,
|
|
0x68, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a,
|
|
0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22,
|
|
0x51, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69,
|
|
0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65,
|
|
0x73, 0x70, 0x22, 0x56, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44,
|
|
0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71,
|
|
0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f,
|
|
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x70, 0x0a, 0x1b, 0x47, 0x65,
|
|
0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d,
|
|
0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65,
|
|
0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x75,
|
|
0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
|
0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
|
0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x56, 0x0a, 0x1a,
|
|
0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72,
|
|
0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
|
|
0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
|
|
0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
|
0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x49, 0x44, 0x22, 0x50, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b,
|
|
0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x5e, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
|
|
0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72,
|
|
0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70,
|
|
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07,
|
|
0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67,
|
|
0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x22, 0x76, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
|
|
0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72,
|
|
0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65,
|
|
0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e,
|
|
0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03,
|
|
0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x5e,
|
|
0x0a, 0x20, 0x44, 0x65, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
|
|
0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52,
|
|
0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b,
|
|
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x56,
|
|
0x0a, 0x21, 0x44, 0x65, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
|
|
0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x32, 0xfd, 0x04, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65,
|
|
0x12, 0x63, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c,
|
|
0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x22, 0x2e, 0x63,
|
|
0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44,
|
|
0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71,
|
|
0x1a, 0x23, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65,
|
|
0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x63, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x46, 0x72, 0x69, 0x65,
|
|
0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68,
|
|
0x65, 0x12, 0x22, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x46, 0x72, 0x69,
|
|
0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63,
|
|
0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x44, 0x65,
|
|
0x6c, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f,
|
|
0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x60, 0x0a, 0x17, 0x47, 0x65,
|
|
0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d,
|
|
0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x21, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x65,
|
|
0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d,
|
|
0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65,
|
|
0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46,
|
|
0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x60, 0x0a, 0x17,
|
|
0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72,
|
|
0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x21, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e,
|
|
0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72,
|
|
0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x63, 0x61, 0x63,
|
|
0x68, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73,
|
|
0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x72,
|
|
0x0a, 0x1d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
|
|
0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12,
|
|
0x27, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
|
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d,
|
|
0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65,
|
|
0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49,
|
|
0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x72, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
|
|
0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61,
|
|
0x63, 0x68, 0x65, 0x12, 0x27, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x47,
|
|
0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74,
|
|
0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x63,
|
|
0x61, 0x63, 0x68, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
|
|
0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63,
|
|
0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x42, 0x1f, 0x5a, 0x1d, 0x4f, 0x70, 0x65, 0x6e, 0x5f, 0x49,
|
|
0x4d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x61, 0x63, 0x68,
|
|
0x65, 0x3b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_cache_cache_proto_rawDescOnce sync.Once
|
|
file_cache_cache_proto_rawDescData = file_cache_cache_proto_rawDesc
|
|
)
|
|
|
|
func file_cache_cache_proto_rawDescGZIP() []byte {
|
|
file_cache_cache_proto_rawDescOnce.Do(func() {
|
|
file_cache_cache_proto_rawDescData = protoimpl.X.CompressGZIP(file_cache_cache_proto_rawDescData)
|
|
})
|
|
return file_cache_cache_proto_rawDescData
|
|
}
|
|
|
|
var file_cache_cache_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
var file_cache_cache_proto_goTypes = []interface{}{
|
|
(*CommonResp)(nil), // 0: cache.CommonResp
|
|
(*GetFriendIDListFromCacheReq)(nil), // 1: cache.GetFriendIDListFromCacheReq
|
|
(*GetFriendIDListFromCacheResp)(nil), // 2: cache.GetFriendIDListFromCacheResp
|
|
(*DelFriendIDListFromCacheReq)(nil), // 3: cache.DelFriendIDListFromCacheReq
|
|
(*DelFriendIDListFromCacheResp)(nil), // 4: cache.DelFriendIDListFromCacheResp
|
|
(*GetBlackIDListFromCacheReq)(nil), // 5: cache.GetBlackIDListFromCacheReq
|
|
(*GetBlackIDListFromCacheResp)(nil), // 6: cache.GetBlackIDListFromCacheResp
|
|
(*DelBlackIDListFromCacheReq)(nil), // 7: cache.DelBlackIDListFromCacheReq
|
|
(*DelBlackIDListFromCacheResp)(nil), // 8: cache.DelBlackIDListFromCacheResp
|
|
(*GetGroupMemberIDListFromCacheReq)(nil), // 9: cache.GetGroupMemberIDListFromCacheReq
|
|
(*GetGroupMemberIDListFromCacheResp)(nil), // 10: cache.GetGroupMemberIDListFromCacheResp
|
|
(*DelGroupMemberIDListFromCacheReq)(nil), // 11: cache.DelGroupMemberIDListFromCacheReq
|
|
(*DelGroupMemberIDListFromCacheResp)(nil), // 12: cache.DelGroupMemberIDListFromCacheResp
|
|
}
|
|
var file_cache_cache_proto_depIdxs = []int32{
|
|
0, // 0: cache.GetFriendIDListFromCacheResp.commonResp:type_name -> cache.CommonResp
|
|
0, // 1: cache.DelFriendIDListFromCacheResp.commonResp:type_name -> cache.CommonResp
|
|
0, // 2: cache.GetBlackIDListFromCacheResp.commonResp:type_name -> cache.CommonResp
|
|
0, // 3: cache.DelBlackIDListFromCacheResp.commonResp:type_name -> cache.CommonResp
|
|
0, // 4: cache.GetGroupMemberIDListFromCacheResp.commonResp:type_name -> cache.CommonResp
|
|
0, // 5: cache.DelGroupMemberIDListFromCacheResp.commonResp:type_name -> cache.CommonResp
|
|
1, // 6: cache.cache.GetFriendIDListFromCache:input_type -> cache.GetFriendIDListFromCacheReq
|
|
3, // 7: cache.cache.DelFriendIDListFromCache:input_type -> cache.DelFriendIDListFromCacheReq
|
|
5, // 8: cache.cache.GetBlackIDListFromCache:input_type -> cache.GetBlackIDListFromCacheReq
|
|
7, // 9: cache.cache.DelBlackIDListFromCache:input_type -> cache.DelBlackIDListFromCacheReq
|
|
9, // 10: cache.cache.GetGroupMemberIDListFromCache:input_type -> cache.GetGroupMemberIDListFromCacheReq
|
|
11, // 11: cache.cache.DelGroupMemberIDListFromCache:input_type -> cache.DelGroupMemberIDListFromCacheReq
|
|
2, // 12: cache.cache.GetFriendIDListFromCache:output_type -> cache.GetFriendIDListFromCacheResp
|
|
4, // 13: cache.cache.DelFriendIDListFromCache:output_type -> cache.DelFriendIDListFromCacheResp
|
|
6, // 14: cache.cache.GetBlackIDListFromCache:output_type -> cache.GetBlackIDListFromCacheResp
|
|
8, // 15: cache.cache.DelBlackIDListFromCache:output_type -> cache.DelBlackIDListFromCacheResp
|
|
10, // 16: cache.cache.GetGroupMemberIDListFromCache:output_type -> cache.GetGroupMemberIDListFromCacheResp
|
|
12, // 17: cache.cache.DelGroupMemberIDListFromCache:output_type -> cache.DelGroupMemberIDListFromCacheResp
|
|
12, // [12:18] is the sub-list for method output_type
|
|
6, // [6:12] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_cache_cache_proto_init() }
|
|
func file_cache_cache_proto_init() {
|
|
if File_cache_cache_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_cache_cache_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CommonResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetFriendIDListFromCacheReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetFriendIDListFromCacheResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DelFriendIDListFromCacheReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DelFriendIDListFromCacheResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBlackIDListFromCacheReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBlackIDListFromCacheResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DelBlackIDListFromCacheReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DelBlackIDListFromCacheResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGroupMemberIDListFromCacheReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGroupMemberIDListFromCacheResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DelGroupMemberIDListFromCacheReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cache_cache_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DelGroupMemberIDListFromCacheResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_cache_cache_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 13,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_cache_cache_proto_goTypes,
|
|
DependencyIndexes: file_cache_cache_proto_depIdxs,
|
|
MessageInfos: file_cache_cache_proto_msgTypes,
|
|
}.Build()
|
|
File_cache_cache_proto = out.File
|
|
file_cache_cache_proto_rawDesc = nil
|
|
file_cache_cache_proto_goTypes = nil
|
|
file_cache_cache_proto_depIdxs = nil
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConnInterface
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
// CacheClient is the client API for Cache service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type CacheClient interface {
|
|
// friendInfo
|
|
GetFriendIDListFromCache(ctx context.Context, in *GetFriendIDListFromCacheReq, opts ...grpc.CallOption) (*GetFriendIDListFromCacheResp, error)
|
|
// for dtm
|
|
DelFriendIDListFromCache(ctx context.Context, in *DelFriendIDListFromCacheReq, opts ...grpc.CallOption) (*DelFriendIDListFromCacheResp, error)
|
|
// blackList
|
|
GetBlackIDListFromCache(ctx context.Context, in *GetBlackIDListFromCacheReq, opts ...grpc.CallOption) (*GetBlackIDListFromCacheResp, error)
|
|
// for dtm
|
|
DelBlackIDListFromCache(ctx context.Context, in *DelBlackIDListFromCacheReq, opts ...grpc.CallOption) (*DelBlackIDListFromCacheResp, error)
|
|
// group
|
|
GetGroupMemberIDListFromCache(ctx context.Context, in *GetGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*GetGroupMemberIDListFromCacheResp, error)
|
|
// for dtm
|
|
DelGroupMemberIDListFromCache(ctx context.Context, in *DelGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*DelGroupMemberIDListFromCacheResp, error)
|
|
}
|
|
|
|
type cacheClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewCacheClient(cc grpc.ClientConnInterface) CacheClient {
|
|
return &cacheClient{cc}
|
|
}
|
|
|
|
func (c *cacheClient) GetFriendIDListFromCache(ctx context.Context, in *GetFriendIDListFromCacheReq, opts ...grpc.CallOption) (*GetFriendIDListFromCacheResp, error) {
|
|
out := new(GetFriendIDListFromCacheResp)
|
|
err := c.cc.Invoke(ctx, "/cache.cache/GetFriendIDListFromCache", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cacheClient) DelFriendIDListFromCache(ctx context.Context, in *DelFriendIDListFromCacheReq, opts ...grpc.CallOption) (*DelFriendIDListFromCacheResp, error) {
|
|
out := new(DelFriendIDListFromCacheResp)
|
|
err := c.cc.Invoke(ctx, "/cache.cache/DelFriendIDListFromCache", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cacheClient) GetBlackIDListFromCache(ctx context.Context, in *GetBlackIDListFromCacheReq, opts ...grpc.CallOption) (*GetBlackIDListFromCacheResp, error) {
|
|
out := new(GetBlackIDListFromCacheResp)
|
|
err := c.cc.Invoke(ctx, "/cache.cache/GetBlackIDListFromCache", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cacheClient) DelBlackIDListFromCache(ctx context.Context, in *DelBlackIDListFromCacheReq, opts ...grpc.CallOption) (*DelBlackIDListFromCacheResp, error) {
|
|
out := new(DelBlackIDListFromCacheResp)
|
|
err := c.cc.Invoke(ctx, "/cache.cache/DelBlackIDListFromCache", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cacheClient) GetGroupMemberIDListFromCache(ctx context.Context, in *GetGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*GetGroupMemberIDListFromCacheResp, error) {
|
|
out := new(GetGroupMemberIDListFromCacheResp)
|
|
err := c.cc.Invoke(ctx, "/cache.cache/GetGroupMemberIDListFromCache", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cacheClient) DelGroupMemberIDListFromCache(ctx context.Context, in *DelGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*DelGroupMemberIDListFromCacheResp, error) {
|
|
out := new(DelGroupMemberIDListFromCacheResp)
|
|
err := c.cc.Invoke(ctx, "/cache.cache/DelGroupMemberIDListFromCache", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// CacheServer is the server API for Cache service.
|
|
type CacheServer interface {
|
|
// friendInfo
|
|
GetFriendIDListFromCache(context.Context, *GetFriendIDListFromCacheReq) (*GetFriendIDListFromCacheResp, error)
|
|
// for dtm
|
|
DelFriendIDListFromCache(context.Context, *DelFriendIDListFromCacheReq) (*DelFriendIDListFromCacheResp, error)
|
|
// blackList
|
|
GetBlackIDListFromCache(context.Context, *GetBlackIDListFromCacheReq) (*GetBlackIDListFromCacheResp, error)
|
|
// for dtm
|
|
DelBlackIDListFromCache(context.Context, *DelBlackIDListFromCacheReq) (*DelBlackIDListFromCacheResp, error)
|
|
// group
|
|
GetGroupMemberIDListFromCache(context.Context, *GetGroupMemberIDListFromCacheReq) (*GetGroupMemberIDListFromCacheResp, error)
|
|
// for dtm
|
|
DelGroupMemberIDListFromCache(context.Context, *DelGroupMemberIDListFromCacheReq) (*DelGroupMemberIDListFromCacheResp, error)
|
|
}
|
|
|
|
// UnimplementedCacheServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedCacheServer struct {
|
|
}
|
|
|
|
func (*UnimplementedCacheServer) GetFriendIDListFromCache(context.Context, *GetFriendIDListFromCacheReq) (*GetFriendIDListFromCacheResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetFriendIDListFromCache not implemented")
|
|
}
|
|
func (*UnimplementedCacheServer) DelFriendIDListFromCache(context.Context, *DelFriendIDListFromCacheReq) (*DelFriendIDListFromCacheResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DelFriendIDListFromCache not implemented")
|
|
}
|
|
func (*UnimplementedCacheServer) GetBlackIDListFromCache(context.Context, *GetBlackIDListFromCacheReq) (*GetBlackIDListFromCacheResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetBlackIDListFromCache not implemented")
|
|
}
|
|
func (*UnimplementedCacheServer) DelBlackIDListFromCache(context.Context, *DelBlackIDListFromCacheReq) (*DelBlackIDListFromCacheResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DelBlackIDListFromCache not implemented")
|
|
}
|
|
func (*UnimplementedCacheServer) GetGroupMemberIDListFromCache(context.Context, *GetGroupMemberIDListFromCacheReq) (*GetGroupMemberIDListFromCacheResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupMemberIDListFromCache not implemented")
|
|
}
|
|
func (*UnimplementedCacheServer) DelGroupMemberIDListFromCache(context.Context, *DelGroupMemberIDListFromCacheReq) (*DelGroupMemberIDListFromCacheResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DelGroupMemberIDListFromCache not implemented")
|
|
}
|
|
|
|
func RegisterCacheServer(s *grpc.Server, srv CacheServer) {
|
|
s.RegisterService(&_Cache_serviceDesc, srv)
|
|
}
|
|
|
|
func _Cache_GetFriendIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetFriendIDListFromCacheReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CacheServer).GetFriendIDListFromCache(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/cache.cache/GetFriendIDListFromCache",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CacheServer).GetFriendIDListFromCache(ctx, req.(*GetFriendIDListFromCacheReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Cache_DelFriendIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DelFriendIDListFromCacheReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CacheServer).DelFriendIDListFromCache(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/cache.cache/DelFriendIDListFromCache",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CacheServer).DelFriendIDListFromCache(ctx, req.(*DelFriendIDListFromCacheReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Cache_GetBlackIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetBlackIDListFromCacheReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CacheServer).GetBlackIDListFromCache(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/cache.cache/GetBlackIDListFromCache",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CacheServer).GetBlackIDListFromCache(ctx, req.(*GetBlackIDListFromCacheReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Cache_DelBlackIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DelBlackIDListFromCacheReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CacheServer).DelBlackIDListFromCache(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/cache.cache/DelBlackIDListFromCache",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CacheServer).DelBlackIDListFromCache(ctx, req.(*DelBlackIDListFromCacheReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Cache_GetGroupMemberIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupMemberIDListFromCacheReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CacheServer).GetGroupMemberIDListFromCache(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/cache.cache/GetGroupMemberIDListFromCache",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CacheServer).GetGroupMemberIDListFromCache(ctx, req.(*GetGroupMemberIDListFromCacheReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Cache_DelGroupMemberIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DelGroupMemberIDListFromCacheReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CacheServer).DelGroupMemberIDListFromCache(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/cache.cache/DelGroupMemberIDListFromCache",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CacheServer).DelGroupMemberIDListFromCache(ctx, req.(*DelGroupMemberIDListFromCacheReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _Cache_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "cache.cache",
|
|
HandlerType: (*CacheServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetFriendIDListFromCache",
|
|
Handler: _Cache_GetFriendIDListFromCache_Handler,
|
|
},
|
|
{
|
|
MethodName: "DelFriendIDListFromCache",
|
|
Handler: _Cache_DelFriendIDListFromCache_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetBlackIDListFromCache",
|
|
Handler: _Cache_GetBlackIDListFromCache_Handler,
|
|
},
|
|
{
|
|
MethodName: "DelBlackIDListFromCache",
|
|
Handler: _Cache_DelBlackIDListFromCache_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGroupMemberIDListFromCache",
|
|
Handler: _Cache_GetGroupMemberIDListFromCache_Handler,
|
|
},
|
|
{
|
|
MethodName: "DelGroupMemberIDListFromCache",
|
|
Handler: _Cache_DelGroupMemberIDListFromCache_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "cache/cache.proto",
|
|
}
|