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.
Open-IM-Server/pkg/proto/admin_cms/admin_cms.pb.go

1893 lines
69 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: admin_cms/admin_cms.proto
package admin_cms // import "Open_IM/pkg/proto/admin_cms"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import sdk_ws "Open_IM/pkg/proto/sdk_ws"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type AdminLoginReq struct {
AdminID string `protobuf:"bytes,2,opt,name=adminID" json:"adminID,omitempty"`
Secret string `protobuf:"bytes,3,opt,name=secret" json:"secret,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdminLoginReq) Reset() { *m = AdminLoginReq{} }
func (m *AdminLoginReq) String() string { return proto.CompactTextString(m) }
func (*AdminLoginReq) ProtoMessage() {}
func (*AdminLoginReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{0}
}
func (m *AdminLoginReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdminLoginReq.Unmarshal(m, b)
}
func (m *AdminLoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdminLoginReq.Marshal(b, m, deterministic)
}
func (dst *AdminLoginReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdminLoginReq.Merge(dst, src)
}
func (m *AdminLoginReq) XXX_Size() int {
return xxx_messageInfo_AdminLoginReq.Size(m)
}
func (m *AdminLoginReq) XXX_DiscardUnknown() {
xxx_messageInfo_AdminLoginReq.DiscardUnknown(m)
}
var xxx_messageInfo_AdminLoginReq proto.InternalMessageInfo
func (m *AdminLoginReq) GetAdminID() string {
if m != nil {
return m.AdminID
}
return ""
}
func (m *AdminLoginReq) GetSecret() string {
if m != nil {
return m.Secret
}
return ""
}
type AdminLoginResp struct {
Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName" json:"userName,omitempty"`
FaceURL string `protobuf:"bytes,3,opt,name=faceURL" json:"faceURL,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdminLoginResp) Reset() { *m = AdminLoginResp{} }
func (m *AdminLoginResp) String() string { return proto.CompactTextString(m) }
func (*AdminLoginResp) ProtoMessage() {}
func (*AdminLoginResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{1}
}
func (m *AdminLoginResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdminLoginResp.Unmarshal(m, b)
}
func (m *AdminLoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdminLoginResp.Marshal(b, m, deterministic)
}
func (dst *AdminLoginResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdminLoginResp.Merge(dst, src)
}
func (m *AdminLoginResp) XXX_Size() int {
return xxx_messageInfo_AdminLoginResp.Size(m)
}
func (m *AdminLoginResp) XXX_DiscardUnknown() {
xxx_messageInfo_AdminLoginResp.DiscardUnknown(m)
}
var xxx_messageInfo_AdminLoginResp proto.InternalMessageInfo
func (m *AdminLoginResp) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *AdminLoginResp) GetUserName() string {
if m != nil {
return m.UserName
}
return ""
}
func (m *AdminLoginResp) GetFaceURL() string {
if m != nil {
return m.FaceURL
}
return ""
}
type GetChatLogsReq struct {
Content string `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"`
SendID string `protobuf:"bytes,2,opt,name=sendID" json:"sendID,omitempty"`
RecvID string `protobuf:"bytes,3,opt,name=recvID" json:"recvID,omitempty"`
SendTime string `protobuf:"bytes,4,opt,name=sendTime" json:"sendTime,omitempty"`
SessionType int32 `protobuf:"varint,5,opt,name=sessionType" json:"sessionType,omitempty"`
ContentType int32 `protobuf:"varint,6,opt,name=contentType" json:"contentType,omitempty"`
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,7,opt,name=pagination" json:"pagination,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetChatLogsReq) Reset() { *m = GetChatLogsReq{} }
func (m *GetChatLogsReq) String() string { return proto.CompactTextString(m) }
func (*GetChatLogsReq) ProtoMessage() {}
func (*GetChatLogsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{2}
}
func (m *GetChatLogsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetChatLogsReq.Unmarshal(m, b)
}
func (m *GetChatLogsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetChatLogsReq.Marshal(b, m, deterministic)
}
func (dst *GetChatLogsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetChatLogsReq.Merge(dst, src)
}
func (m *GetChatLogsReq) XXX_Size() int {
return xxx_messageInfo_GetChatLogsReq.Size(m)
}
func (m *GetChatLogsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetChatLogsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetChatLogsReq proto.InternalMessageInfo
func (m *GetChatLogsReq) GetContent() string {
if m != nil {
return m.Content
}
return ""
}
func (m *GetChatLogsReq) GetSendID() string {
if m != nil {
return m.SendID
}
return ""
}
func (m *GetChatLogsReq) GetRecvID() string {
if m != nil {
return m.RecvID
}
return ""
}
func (m *GetChatLogsReq) GetSendTime() string {
if m != nil {
return m.SendTime
}
return ""
}
func (m *GetChatLogsReq) GetSessionType() int32 {
if m != nil {
return m.SessionType
}
return 0
}
func (m *GetChatLogsReq) GetContentType() int32 {
if m != nil {
return m.ContentType
}
return 0
}
func (m *GetChatLogsReq) GetPagination() *sdk_ws.RequestPagination {
if m != nil {
return m.Pagination
}
return nil
}
type ChatLog struct {
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID" json:"serverMsgID,omitempty"`
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID" json:"clientMsgID,omitempty"`
SendID string `protobuf:"bytes,3,opt,name=sendID" json:"sendID,omitempty"`
RecvID string `protobuf:"bytes,4,opt,name=recvID" json:"recvID,omitempty"`
GroupID string `protobuf:"bytes,5,opt,name=groupID" json:"groupID,omitempty"`
RecvNickname string `protobuf:"bytes,6,opt,name=recvNickname" json:"recvNickname,omitempty"`
SenderPlatformID int32 `protobuf:"varint,7,opt,name=senderPlatformID" json:"senderPlatformID,omitempty"`
SenderNickname string `protobuf:"bytes,8,opt,name=senderNickname" json:"senderNickname,omitempty"`
SenderFaceURL string `protobuf:"bytes,9,opt,name=senderFaceURL" json:"senderFaceURL,omitempty"`
GroupName string `protobuf:"bytes,10,opt,name=groupName" json:"groupName,omitempty"`
SessionType int32 `protobuf:"varint,11,opt,name=sessionType" json:"sessionType,omitempty"`
MsgFrom int32 `protobuf:"varint,12,opt,name=msgFrom" json:"msgFrom,omitempty"`
ContentType int32 `protobuf:"varint,13,opt,name=contentType" json:"contentType,omitempty"`
Content string `protobuf:"bytes,14,opt,name=content" json:"content,omitempty"`
Status int32 `protobuf:"varint,15,opt,name=status" json:"status,omitempty"`
SendTime int64 `protobuf:"varint,16,opt,name=sendTime" json:"sendTime,omitempty"`
CreateTime int64 `protobuf:"varint,17,opt,name=createTime" json:"createTime,omitempty"`
Ex string `protobuf:"bytes,18,opt,name=ex" json:"ex,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChatLog) Reset() { *m = ChatLog{} }
func (m *ChatLog) String() string { return proto.CompactTextString(m) }
func (*ChatLog) ProtoMessage() {}
func (*ChatLog) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{3}
}
func (m *ChatLog) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChatLog.Unmarshal(m, b)
}
func (m *ChatLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChatLog.Marshal(b, m, deterministic)
}
func (dst *ChatLog) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChatLog.Merge(dst, src)
}
func (m *ChatLog) XXX_Size() int {
return xxx_messageInfo_ChatLog.Size(m)
}
func (m *ChatLog) XXX_DiscardUnknown() {
xxx_messageInfo_ChatLog.DiscardUnknown(m)
}
var xxx_messageInfo_ChatLog proto.InternalMessageInfo
func (m *ChatLog) GetServerMsgID() string {
if m != nil {
return m.ServerMsgID
}
return ""
}
func (m *ChatLog) GetClientMsgID() string {
if m != nil {
return m.ClientMsgID
}
return ""
}
func (m *ChatLog) GetSendID() string {
if m != nil {
return m.SendID
}
return ""
}
func (m *ChatLog) GetRecvID() string {
if m != nil {
return m.RecvID
}
return ""
}
func (m *ChatLog) GetGroupID() string {
if m != nil {
return m.GroupID
}
return ""
}
func (m *ChatLog) GetRecvNickname() string {
if m != nil {
return m.RecvNickname
}
return ""
}
func (m *ChatLog) GetSenderPlatformID() int32 {
if m != nil {
return m.SenderPlatformID
}
return 0
}
func (m *ChatLog) GetSenderNickname() string {
if m != nil {
return m.SenderNickname
}
return ""
}
func (m *ChatLog) GetSenderFaceURL() string {
if m != nil {
return m.SenderFaceURL
}
return ""
}
func (m *ChatLog) GetGroupName() string {
if m != nil {
return m.GroupName
}
return ""
}
func (m *ChatLog) GetSessionType() int32 {
if m != nil {
return m.SessionType
}
return 0
}
func (m *ChatLog) GetMsgFrom() int32 {
if m != nil {
return m.MsgFrom
}
return 0
}
func (m *ChatLog) GetContentType() int32 {
if m != nil {
return m.ContentType
}
return 0
}
func (m *ChatLog) GetContent() string {
if m != nil {
return m.Content
}
return ""
}
func (m *ChatLog) GetStatus() int32 {
if m != nil {
return m.Status
}
return 0
}
func (m *ChatLog) GetSendTime() int64 {
if m != nil {
return m.SendTime
}
return 0
}
func (m *ChatLog) GetCreateTime() int64 {
if m != nil {
return m.CreateTime
}
return 0
}
func (m *ChatLog) GetEx() string {
if m != nil {
return m.Ex
}
return ""
}
type GetChatLogsResp struct {
ChatLogs []*ChatLog `protobuf:"bytes,1,rep,name=chatLogs" json:"chatLogs,omitempty"`
ChatLogsNum int32 `protobuf:"varint,2,opt,name=chatLogsNum" json:"chatLogsNum,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetChatLogsResp) Reset() { *m = GetChatLogsResp{} }
func (m *GetChatLogsResp) String() string { return proto.CompactTextString(m) }
func (*GetChatLogsResp) ProtoMessage() {}
func (*GetChatLogsResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{4}
}
func (m *GetChatLogsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetChatLogsResp.Unmarshal(m, b)
}
func (m *GetChatLogsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetChatLogsResp.Marshal(b, m, deterministic)
}
func (dst *GetChatLogsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetChatLogsResp.Merge(dst, src)
}
func (m *GetChatLogsResp) XXX_Size() int {
return xxx_messageInfo_GetChatLogsResp.Size(m)
}
func (m *GetChatLogsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetChatLogsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetChatLogsResp proto.InternalMessageInfo
func (m *GetChatLogsResp) GetChatLogs() []*ChatLog {
if m != nil {
return m.ChatLogs
}
return nil
}
func (m *GetChatLogsResp) GetChatLogsNum() int32 {
if m != nil {
return m.ChatLogsNum
}
return 0
}
type StatisticsReq struct {
From string `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"`
To string `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StatisticsReq) Reset() { *m = StatisticsReq{} }
func (m *StatisticsReq) String() string { return proto.CompactTextString(m) }
func (*StatisticsReq) ProtoMessage() {}
func (*StatisticsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{5}
}
func (m *StatisticsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StatisticsReq.Unmarshal(m, b)
}
func (m *StatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StatisticsReq.Marshal(b, m, deterministic)
}
func (dst *StatisticsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_StatisticsReq.Merge(dst, src)
}
func (m *StatisticsReq) XXX_Size() int {
return xxx_messageInfo_StatisticsReq.Size(m)
}
func (m *StatisticsReq) XXX_DiscardUnknown() {
xxx_messageInfo_StatisticsReq.DiscardUnknown(m)
}
var xxx_messageInfo_StatisticsReq proto.InternalMessageInfo
func (m *StatisticsReq) GetFrom() string {
if m != nil {
return m.From
}
return ""
}
func (m *StatisticsReq) GetTo() string {
if m != nil {
return m.To
}
return ""
}
type GetActiveUserReq struct {
StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=statisticsReq" json:"statisticsReq,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetActiveUserReq) Reset() { *m = GetActiveUserReq{} }
func (m *GetActiveUserReq) String() string { return proto.CompactTextString(m) }
func (*GetActiveUserReq) ProtoMessage() {}
func (*GetActiveUserReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{6}
}
func (m *GetActiveUserReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetActiveUserReq.Unmarshal(m, b)
}
func (m *GetActiveUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetActiveUserReq.Marshal(b, m, deterministic)
}
func (dst *GetActiveUserReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetActiveUserReq.Merge(dst, src)
}
func (m *GetActiveUserReq) XXX_Size() int {
return xxx_messageInfo_GetActiveUserReq.Size(m)
}
func (m *GetActiveUserReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetActiveUserReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetActiveUserReq proto.InternalMessageInfo
func (m *GetActiveUserReq) GetStatisticsReq() *StatisticsReq {
if m != nil {
return m.StatisticsReq
}
return nil
}
type UserResp struct {
NickName string `protobuf:"bytes,1,opt,name=nickName" json:"nickName,omitempty"`
UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"`
MessageNum int32 `protobuf:"varint,3,opt,name=messageNum" json:"messageNum,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UserResp) Reset() { *m = UserResp{} }
func (m *UserResp) String() string { return proto.CompactTextString(m) }
func (*UserResp) ProtoMessage() {}
func (*UserResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{7}
}
func (m *UserResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserResp.Unmarshal(m, b)
}
func (m *UserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserResp.Marshal(b, m, deterministic)
}
func (dst *UserResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserResp.Merge(dst, src)
}
func (m *UserResp) XXX_Size() int {
return xxx_messageInfo_UserResp.Size(m)
}
func (m *UserResp) XXX_DiscardUnknown() {
xxx_messageInfo_UserResp.DiscardUnknown(m)
}
var xxx_messageInfo_UserResp proto.InternalMessageInfo
func (m *UserResp) GetNickName() string {
if m != nil {
return m.NickName
}
return ""
}
func (m *UserResp) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
func (m *UserResp) GetMessageNum() int32 {
if m != nil {
return m.MessageNum
}
return 0
}
type GetActiveUserResp struct {
Users []*UserResp `protobuf:"bytes,1,rep,name=Users" json:"Users,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetActiveUserResp) Reset() { *m = GetActiveUserResp{} }
func (m *GetActiveUserResp) String() string { return proto.CompactTextString(m) }
func (*GetActiveUserResp) ProtoMessage() {}
func (*GetActiveUserResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{8}
}
func (m *GetActiveUserResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetActiveUserResp.Unmarshal(m, b)
}
func (m *GetActiveUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetActiveUserResp.Marshal(b, m, deterministic)
}
func (dst *GetActiveUserResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetActiveUserResp.Merge(dst, src)
}
func (m *GetActiveUserResp) XXX_Size() int {
return xxx_messageInfo_GetActiveUserResp.Size(m)
}
func (m *GetActiveUserResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetActiveUserResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetActiveUserResp proto.InternalMessageInfo
func (m *GetActiveUserResp) GetUsers() []*UserResp {
if m != nil {
return m.Users
}
return nil
}
type GetActiveGroupReq struct {
StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=statisticsReq" json:"statisticsReq,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetActiveGroupReq) Reset() { *m = GetActiveGroupReq{} }
func (m *GetActiveGroupReq) String() string { return proto.CompactTextString(m) }
func (*GetActiveGroupReq) ProtoMessage() {}
func (*GetActiveGroupReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{9}
}
func (m *GetActiveGroupReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetActiveGroupReq.Unmarshal(m, b)
}
func (m *GetActiveGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetActiveGroupReq.Marshal(b, m, deterministic)
}
func (dst *GetActiveGroupReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetActiveGroupReq.Merge(dst, src)
}
func (m *GetActiveGroupReq) XXX_Size() int {
return xxx_messageInfo_GetActiveGroupReq.Size(m)
}
func (m *GetActiveGroupReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetActiveGroupReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetActiveGroupReq proto.InternalMessageInfo
func (m *GetActiveGroupReq) GetStatisticsReq() *StatisticsReq {
if m != nil {
return m.StatisticsReq
}
return nil
}
type GroupResp struct {
GroupName string `protobuf:"bytes,1,opt,name=GroupName" json:"GroupName,omitempty"`
GroupID string `protobuf:"bytes,2,opt,name=GroupID" json:"GroupID,omitempty"`
MessageNum int32 `protobuf:"varint,3,opt,name=MessageNum" json:"MessageNum,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GroupResp) Reset() { *m = GroupResp{} }
func (m *GroupResp) String() string { return proto.CompactTextString(m) }
func (*GroupResp) ProtoMessage() {}
func (*GroupResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{10}
}
func (m *GroupResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GroupResp.Unmarshal(m, b)
}
func (m *GroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GroupResp.Marshal(b, m, deterministic)
}
func (dst *GroupResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GroupResp.Merge(dst, src)
}
func (m *GroupResp) XXX_Size() int {
return xxx_messageInfo_GroupResp.Size(m)
}
func (m *GroupResp) XXX_DiscardUnknown() {
xxx_messageInfo_GroupResp.DiscardUnknown(m)
}
var xxx_messageInfo_GroupResp proto.InternalMessageInfo
func (m *GroupResp) GetGroupName() string {
if m != nil {
return m.GroupName
}
return ""
}
func (m *GroupResp) GetGroupID() string {
if m != nil {
return m.GroupID
}
return ""
}
func (m *GroupResp) GetMessageNum() int32 {
if m != nil {
return m.MessageNum
}
return 0
}
type GetActiveGroupResp struct {
Groups []*GroupResp `protobuf:"bytes,1,rep,name=Groups" json:"Groups,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetActiveGroupResp) Reset() { *m = GetActiveGroupResp{} }
func (m *GetActiveGroupResp) String() string { return proto.CompactTextString(m) }
func (*GetActiveGroupResp) ProtoMessage() {}
func (*GetActiveGroupResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{11}
}
func (m *GetActiveGroupResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetActiveGroupResp.Unmarshal(m, b)
}
func (m *GetActiveGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetActiveGroupResp.Marshal(b, m, deterministic)
}
func (dst *GetActiveGroupResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetActiveGroupResp.Merge(dst, src)
}
func (m *GetActiveGroupResp) XXX_Size() int {
return xxx_messageInfo_GetActiveGroupResp.Size(m)
}
func (m *GetActiveGroupResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetActiveGroupResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetActiveGroupResp proto.InternalMessageInfo
func (m *GetActiveGroupResp) GetGroups() []*GroupResp {
if m != nil {
return m.Groups
}
return nil
}
type DateNumList struct {
Date string `protobuf:"bytes,1,opt,name=Date" json:"Date,omitempty"`
Num int32 `protobuf:"varint,2,opt,name=Num" json:"Num,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DateNumList) Reset() { *m = DateNumList{} }
func (m *DateNumList) String() string { return proto.CompactTextString(m) }
func (*DateNumList) ProtoMessage() {}
func (*DateNumList) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{12}
}
func (m *DateNumList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DateNumList.Unmarshal(m, b)
}
func (m *DateNumList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DateNumList.Marshal(b, m, deterministic)
}
func (dst *DateNumList) XXX_Merge(src proto.Message) {
xxx_messageInfo_DateNumList.Merge(dst, src)
}
func (m *DateNumList) XXX_Size() int {
return xxx_messageInfo_DateNumList.Size(m)
}
func (m *DateNumList) XXX_DiscardUnknown() {
xxx_messageInfo_DateNumList.DiscardUnknown(m)
}
var xxx_messageInfo_DateNumList proto.InternalMessageInfo
func (m *DateNumList) GetDate() string {
if m != nil {
return m.Date
}
return ""
}
func (m *DateNumList) GetNum() int32 {
if m != nil {
return m.Num
}
return 0
}
type GetMessageStatisticsReq struct {
StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetMessageStatisticsReq) Reset() { *m = GetMessageStatisticsReq{} }
func (m *GetMessageStatisticsReq) String() string { return proto.CompactTextString(m) }
func (*GetMessageStatisticsReq) ProtoMessage() {}
func (*GetMessageStatisticsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{13}
}
func (m *GetMessageStatisticsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetMessageStatisticsReq.Unmarshal(m, b)
}
func (m *GetMessageStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetMessageStatisticsReq.Marshal(b, m, deterministic)
}
func (dst *GetMessageStatisticsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetMessageStatisticsReq.Merge(dst, src)
}
func (m *GetMessageStatisticsReq) XXX_Size() int {
return xxx_messageInfo_GetMessageStatisticsReq.Size(m)
}
func (m *GetMessageStatisticsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetMessageStatisticsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetMessageStatisticsReq proto.InternalMessageInfo
func (m *GetMessageStatisticsReq) GetStatisticsReq() *StatisticsReq {
if m != nil {
return m.StatisticsReq
}
return nil
}
type GetMessageStatisticsResp struct {
PrivateMessageNum int32 `protobuf:"varint,1,opt,name=PrivateMessageNum" json:"PrivateMessageNum,omitempty"`
GroupMessageNum int32 `protobuf:"varint,2,opt,name=GroupMessageNum" json:"GroupMessageNum,omitempty"`
PrivateMessageNumList []*DateNumList `protobuf:"bytes,3,rep,name=PrivateMessageNumList" json:"PrivateMessageNumList,omitempty"`
GroupMessageNumList []*DateNumList `protobuf:"bytes,4,rep,name=GroupMessageNumList" json:"GroupMessageNumList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetMessageStatisticsResp) Reset() { *m = GetMessageStatisticsResp{} }
func (m *GetMessageStatisticsResp) String() string { return proto.CompactTextString(m) }
func (*GetMessageStatisticsResp) ProtoMessage() {}
func (*GetMessageStatisticsResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{14}
}
func (m *GetMessageStatisticsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetMessageStatisticsResp.Unmarshal(m, b)
}
func (m *GetMessageStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetMessageStatisticsResp.Marshal(b, m, deterministic)
}
func (dst *GetMessageStatisticsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetMessageStatisticsResp.Merge(dst, src)
}
func (m *GetMessageStatisticsResp) XXX_Size() int {
return xxx_messageInfo_GetMessageStatisticsResp.Size(m)
}
func (m *GetMessageStatisticsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetMessageStatisticsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetMessageStatisticsResp proto.InternalMessageInfo
func (m *GetMessageStatisticsResp) GetSingleChatMessageNum() int32 {
if m != nil {
return m.PrivateMessageNum
}
return 0
}
func (m *GetMessageStatisticsResp) GetGroupMessageNum() int32 {
if m != nil {
return m.GroupMessageNum
}
return 0
}
func (m *GetMessageStatisticsResp) GetSingleChatMessageNumList() []*DateNumList {
if m != nil {
return m.PrivateMessageNumList
}
return nil
}
func (m *GetMessageStatisticsResp) GetGroupMessageNumList() []*DateNumList {
if m != nil {
return m.GroupMessageNumList
}
return nil
}
type GetGroupStatisticsReq struct {
StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetGroupStatisticsReq) Reset() { *m = GetGroupStatisticsReq{} }
func (m *GetGroupStatisticsReq) String() string { return proto.CompactTextString(m) }
func (*GetGroupStatisticsReq) ProtoMessage() {}
func (*GetGroupStatisticsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{15}
}
func (m *GetGroupStatisticsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetGroupStatisticsReq.Unmarshal(m, b)
}
func (m *GetGroupStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetGroupStatisticsReq.Marshal(b, m, deterministic)
}
func (dst *GetGroupStatisticsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetGroupStatisticsReq.Merge(dst, src)
}
func (m *GetGroupStatisticsReq) XXX_Size() int {
return xxx_messageInfo_GetGroupStatisticsReq.Size(m)
}
func (m *GetGroupStatisticsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetGroupStatisticsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetGroupStatisticsReq proto.InternalMessageInfo
func (m *GetGroupStatisticsReq) GetStatisticsReq() *StatisticsReq {
if m != nil {
return m.StatisticsReq
}
return nil
}
type GetGroupStatisticsResp struct {
IncreaseGroupNum int32 `protobuf:"varint,1,opt,name=IncreaseGroupNum" json:"IncreaseGroupNum,omitempty"`
TotalGroupNum int32 `protobuf:"varint,2,opt,name=TotalGroupNum" json:"TotalGroupNum,omitempty"`
IncreaseGroupNumList []*DateNumList `protobuf:"bytes,3,rep,name=IncreaseGroupNumList" json:"IncreaseGroupNumList,omitempty"`
TotalGroupNumList []*DateNumList `protobuf:"bytes,4,rep,name=TotalGroupNumList" json:"TotalGroupNumList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetGroupStatisticsResp) Reset() { *m = GetGroupStatisticsResp{} }
func (m *GetGroupStatisticsResp) String() string { return proto.CompactTextString(m) }
func (*GetGroupStatisticsResp) ProtoMessage() {}
func (*GetGroupStatisticsResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{16}
}
func (m *GetGroupStatisticsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetGroupStatisticsResp.Unmarshal(m, b)
}
func (m *GetGroupStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetGroupStatisticsResp.Marshal(b, m, deterministic)
}
func (dst *GetGroupStatisticsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetGroupStatisticsResp.Merge(dst, src)
}
func (m *GetGroupStatisticsResp) XXX_Size() int {
return xxx_messageInfo_GetGroupStatisticsResp.Size(m)
}
func (m *GetGroupStatisticsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetGroupStatisticsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetGroupStatisticsResp proto.InternalMessageInfo
func (m *GetGroupStatisticsResp) GetIncreaseGroupNum() int32 {
if m != nil {
return m.IncreaseGroupNum
}
return 0
}
func (m *GetGroupStatisticsResp) GetTotalGroupNum() int32 {
if m != nil {
return m.TotalGroupNum
}
return 0
}
func (m *GetGroupStatisticsResp) GetIncreaseGroupNumList() []*DateNumList {
if m != nil {
return m.IncreaseGroupNumList
}
return nil
}
func (m *GetGroupStatisticsResp) GetTotalGroupNumList() []*DateNumList {
if m != nil {
return m.TotalGroupNumList
}
return nil
}
type GetUserStatisticsReq struct {
StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserStatisticsReq) Reset() { *m = GetUserStatisticsReq{} }
func (m *GetUserStatisticsReq) String() string { return proto.CompactTextString(m) }
func (*GetUserStatisticsReq) ProtoMessage() {}
func (*GetUserStatisticsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{17}
}
func (m *GetUserStatisticsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserStatisticsReq.Unmarshal(m, b)
}
func (m *GetUserStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserStatisticsReq.Marshal(b, m, deterministic)
}
func (dst *GetUserStatisticsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserStatisticsReq.Merge(dst, src)
}
func (m *GetUserStatisticsReq) XXX_Size() int {
return xxx_messageInfo_GetUserStatisticsReq.Size(m)
}
func (m *GetUserStatisticsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserStatisticsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserStatisticsReq proto.InternalMessageInfo
func (m *GetUserStatisticsReq) GetStatisticsReq() *StatisticsReq {
if m != nil {
return m.StatisticsReq
}
return nil
}
func (m *GetUserStatisticsReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
type GetUserStatisticsResp struct {
IncreaseUserNum int32 `protobuf:"varint,1,opt,name=IncreaseUserNum" json:"IncreaseUserNum,omitempty"`
ActiveUserNum int32 `protobuf:"varint,2,opt,name=ActiveUserNum" json:"ActiveUserNum,omitempty"`
TotalUserNum int32 `protobuf:"varint,3,opt,name=TotalUserNum" json:"TotalUserNum,omitempty"`
IncreaseUserNumList []*DateNumList `protobuf:"bytes,4,rep,name=IncreaseUserNumList" json:"IncreaseUserNumList,omitempty"`
ActiveUserNumList []*DateNumList `protobuf:"bytes,5,rep,name=ActiveUserNumList" json:"ActiveUserNumList,omitempty"`
TotalUserNumList []*DateNumList `protobuf:"bytes,6,rep,name=TotalUserNumList" json:"TotalUserNumList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserStatisticsResp) Reset() { *m = GetUserStatisticsResp{} }
func (m *GetUserStatisticsResp) String() string { return proto.CompactTextString(m) }
func (*GetUserStatisticsResp) ProtoMessage() {}
func (*GetUserStatisticsResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{18}
}
func (m *GetUserStatisticsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserStatisticsResp.Unmarshal(m, b)
}
func (m *GetUserStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserStatisticsResp.Marshal(b, m, deterministic)
}
func (dst *GetUserStatisticsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserStatisticsResp.Merge(dst, src)
}
func (m *GetUserStatisticsResp) XXX_Size() int {
return xxx_messageInfo_GetUserStatisticsResp.Size(m)
}
func (m *GetUserStatisticsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserStatisticsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserStatisticsResp proto.InternalMessageInfo
func (m *GetUserStatisticsResp) GetIncreaseUserNum() int32 {
if m != nil {
return m.IncreaseUserNum
}
return 0
}
func (m *GetUserStatisticsResp) GetActiveUserNum() int32 {
if m != nil {
return m.ActiveUserNum
}
return 0
}
func (m *GetUserStatisticsResp) GetTotalUserNum() int32 {
if m != nil {
return m.TotalUserNum
}
return 0
}
func (m *GetUserStatisticsResp) GetIncreaseUserNumList() []*DateNumList {
if m != nil {
return m.IncreaseUserNumList
}
return nil
}
func (m *GetUserStatisticsResp) GetActiveUserNumList() []*DateNumList {
if m != nil {
return m.ActiveUserNumList
}
return nil
}
func (m *GetUserStatisticsResp) GetTotalUserNumList() []*DateNumList {
if m != nil {
return m.TotalUserNumList
}
return nil
}
type GetUserFriendsReq struct {
OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"`
UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"`
FriendUserID string `protobuf:"bytes,3,opt,name=friendUserID" json:"friendUserID,omitempty"`
FriendUserName string `protobuf:"bytes,4,opt,name=friendUserName" json:"friendUserName,omitempty"`
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,5,opt,name=pagination" json:"pagination,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserFriendsReq) Reset() { *m = GetUserFriendsReq{} }
func (m *GetUserFriendsReq) String() string { return proto.CompactTextString(m) }
func (*GetUserFriendsReq) ProtoMessage() {}
func (*GetUserFriendsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{19}
}
func (m *GetUserFriendsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserFriendsReq.Unmarshal(m, b)
}
func (m *GetUserFriendsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserFriendsReq.Marshal(b, m, deterministic)
}
func (dst *GetUserFriendsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserFriendsReq.Merge(dst, src)
}
func (m *GetUserFriendsReq) XXX_Size() int {
return xxx_messageInfo_GetUserFriendsReq.Size(m)
}
func (m *GetUserFriendsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserFriendsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserFriendsReq proto.InternalMessageInfo
func (m *GetUserFriendsReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *GetUserFriendsReq) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
func (m *GetUserFriendsReq) GetFriendUserID() string {
if m != nil {
return m.FriendUserID
}
return ""
}
func (m *GetUserFriendsReq) GetFriendUserName() string {
if m != nil {
return m.FriendUserName
}
return ""
}
func (m *GetUserFriendsReq) GetPagination() *sdk_ws.RequestPagination {
if m != nil {
return m.Pagination
}
return nil
}
type GetUserFriendsResp struct {
FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,2,rep,name=friendInfoList" json:"friendInfoList,omitempty"`
FriendNums int32 `protobuf:"varint,3,opt,name=friendNums" json:"friendNums,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserFriendsResp) Reset() { *m = GetUserFriendsResp{} }
func (m *GetUserFriendsResp) String() string { return proto.CompactTextString(m) }
func (*GetUserFriendsResp) ProtoMessage() {}
func (*GetUserFriendsResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{20}
}
func (m *GetUserFriendsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserFriendsResp.Unmarshal(m, b)
}
func (m *GetUserFriendsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserFriendsResp.Marshal(b, m, deterministic)
}
func (dst *GetUserFriendsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserFriendsResp.Merge(dst, src)
}
func (m *GetUserFriendsResp) XXX_Size() int {
return xxx_messageInfo_GetUserFriendsResp.Size(m)
}
func (m *GetUserFriendsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserFriendsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserFriendsResp proto.InternalMessageInfo
func (m *GetUserFriendsResp) GetFriendInfoList() []*sdk_ws.FriendInfo {
if m != nil {
return m.FriendInfoList
}
return nil
}
func (m *GetUserFriendsResp) GetFriendNums() int32 {
if m != nil {
return m.FriendNums
}
return 0
}
type GetUserIDByEmailAndPhoneNumberReq struct {
Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
PhoneNumber string `protobuf:"bytes,3,opt,name=phoneNumber" json:"phoneNumber,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserIDByEmailAndPhoneNumberReq) Reset() { *m = GetUserIDByEmailAndPhoneNumberReq{} }
func (m *GetUserIDByEmailAndPhoneNumberReq) String() string { return proto.CompactTextString(m) }
func (*GetUserIDByEmailAndPhoneNumberReq) ProtoMessage() {}
func (*GetUserIDByEmailAndPhoneNumberReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{21}
}
func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Unmarshal(m, b)
}
func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Marshal(b, m, deterministic)
}
func (dst *GetUserIDByEmailAndPhoneNumberReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Merge(dst, src)
}
func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_Size() int {
return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Size(m)
}
func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq proto.InternalMessageInfo
func (m *GetUserIDByEmailAndPhoneNumberReq) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
func (m *GetUserIDByEmailAndPhoneNumberReq) GetPhoneNumber() string {
if m != nil {
return m.PhoneNumber
}
return ""
}
type GetUserIDByEmailAndPhoneNumberResp struct {
UserIDList []string `protobuf:"bytes,1,rep,name=userIDList" json:"userIDList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserIDByEmailAndPhoneNumberResp) Reset() { *m = GetUserIDByEmailAndPhoneNumberResp{} }
func (m *GetUserIDByEmailAndPhoneNumberResp) String() string { return proto.CompactTextString(m) }
func (*GetUserIDByEmailAndPhoneNumberResp) ProtoMessage() {}
func (*GetUserIDByEmailAndPhoneNumberResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{22}
}
func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Unmarshal(m, b)
}
func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Marshal(b, m, deterministic)
}
func (dst *GetUserIDByEmailAndPhoneNumberResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Merge(dst, src)
}
func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_Size() int {
return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Size(m)
}
func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp proto.InternalMessageInfo
func (m *GetUserIDByEmailAndPhoneNumberResp) GetUserIDList() []string {
if m != nil {
return m.UserIDList
}
return nil
}
type GetUserTokenReq struct {
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
PlatformID int32 `protobuf:"varint,2,opt,name=platformID" json:"platformID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserTokenReq) Reset() { *m = GetUserTokenReq{} }
func (m *GetUserTokenReq) String() string { return proto.CompactTextString(m) }
func (*GetUserTokenReq) ProtoMessage() {}
func (*GetUserTokenReq) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{23}
}
func (m *GetUserTokenReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserTokenReq.Unmarshal(m, b)
}
func (m *GetUserTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserTokenReq.Marshal(b, m, deterministic)
}
func (dst *GetUserTokenReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserTokenReq.Merge(dst, src)
}
func (m *GetUserTokenReq) XXX_Size() int {
return xxx_messageInfo_GetUserTokenReq.Size(m)
}
func (m *GetUserTokenReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserTokenReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserTokenReq proto.InternalMessageInfo
func (m *GetUserTokenReq) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
func (m *GetUserTokenReq) GetPlatformID() int32 {
if m != nil {
return m.PlatformID
}
return 0
}
type GetUserTokenResp struct {
Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
ExpTime int64 `protobuf:"varint,2,opt,name=expTime" json:"expTime,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserTokenResp) Reset() { *m = GetUserTokenResp{} }
func (m *GetUserTokenResp) String() string { return proto.CompactTextString(m) }
func (*GetUserTokenResp) ProtoMessage() {}
func (*GetUserTokenResp) Descriptor() ([]byte, []int) {
return fileDescriptor_admin_cms_d71cb129508715a2, []int{24}
}
func (m *GetUserTokenResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserTokenResp.Unmarshal(m, b)
}
func (m *GetUserTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserTokenResp.Marshal(b, m, deterministic)
}
func (dst *GetUserTokenResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserTokenResp.Merge(dst, src)
}
func (m *GetUserTokenResp) XXX_Size() int {
return xxx_messageInfo_GetUserTokenResp.Size(m)
}
func (m *GetUserTokenResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserTokenResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserTokenResp proto.InternalMessageInfo
func (m *GetUserTokenResp) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *GetUserTokenResp) GetExpTime() int64 {
if m != nil {
return m.ExpTime
}
return 0
}
func init() {
proto.RegisterType((*AdminLoginReq)(nil), "admin_cms.AdminLoginReq")
proto.RegisterType((*AdminLoginResp)(nil), "admin_cms.AdminLoginResp")
proto.RegisterType((*GetChatLogsReq)(nil), "admin_cms.GetChatLogsReq")
proto.RegisterType((*ChatLog)(nil), "admin_cms.ChatLog")
proto.RegisterType((*GetChatLogsResp)(nil), "admin_cms.GetChatLogsResp")
proto.RegisterType((*StatisticsReq)(nil), "admin_cms.StatisticsReq")
proto.RegisterType((*GetActiveUserReq)(nil), "admin_cms.GetActiveUserReq")
proto.RegisterType((*UserResp)(nil), "admin_cms.UserResp")
proto.RegisterType((*GetActiveUserResp)(nil), "admin_cms.GetActiveUserResp")
proto.RegisterType((*GetActiveGroupReq)(nil), "admin_cms.GetActiveGroupReq")
proto.RegisterType((*GroupResp)(nil), "admin_cms.GroupResp")
proto.RegisterType((*GetActiveGroupResp)(nil), "admin_cms.GetActiveGroupResp")
proto.RegisterType((*DateNumList)(nil), "admin_cms.DateNumList")
proto.RegisterType((*GetMessageStatisticsReq)(nil), "admin_cms.GetMessageStatisticsReq")
proto.RegisterType((*GetMessageStatisticsResp)(nil), "admin_cms.GetMessageStatisticsResp")
proto.RegisterType((*GetGroupStatisticsReq)(nil), "admin_cms.GetGroupStatisticsReq")
proto.RegisterType((*GetGroupStatisticsResp)(nil), "admin_cms.GetGroupStatisticsResp")
proto.RegisterType((*GetUserStatisticsReq)(nil), "admin_cms.GetUserStatisticsReq")
proto.RegisterType((*GetUserStatisticsResp)(nil), "admin_cms.GetUserStatisticsResp")
proto.RegisterType((*GetUserFriendsReq)(nil), "admin_cms.GetUserFriendsReq")
proto.RegisterType((*GetUserFriendsResp)(nil), "admin_cms.GetUserFriendsResp")
proto.RegisterType((*GetUserIDByEmailAndPhoneNumberReq)(nil), "admin_cms.GetUserIDByEmailAndPhoneNumberReq")
proto.RegisterType((*GetUserIDByEmailAndPhoneNumberResp)(nil), "admin_cms.GetUserIDByEmailAndPhoneNumberResp")
proto.RegisterType((*GetUserTokenReq)(nil), "admin_cms.GetUserTokenReq")
proto.RegisterType((*GetUserTokenResp)(nil), "admin_cms.GetUserTokenResp")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// 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.SupportPackageIsVersion4
// Client API for AdminCMS service
type AdminCMSClient interface {
AdminLogin(ctx context.Context, in *AdminLoginReq, opts ...grpc.CallOption) (*AdminLoginResp, error)
GetChatLogs(ctx context.Context, in *GetChatLogsReq, opts ...grpc.CallOption) (*GetChatLogsResp, error)
GetActiveUser(ctx context.Context, in *GetActiveUserReq, opts ...grpc.CallOption) (*GetActiveUserResp, error)
GetActiveGroup(ctx context.Context, in *GetActiveGroupReq, opts ...grpc.CallOption) (*GetActiveGroupResp, error)
GetMessageStatistics(ctx context.Context, in *GetMessageStatisticsReq, opts ...grpc.CallOption) (*GetMessageStatisticsResp, error)
GetGroupStatistics(ctx context.Context, in *GetGroupStatisticsReq, opts ...grpc.CallOption) (*GetGroupStatisticsResp, error)
GetUserStatistics(ctx context.Context, in *GetUserStatisticsReq, opts ...grpc.CallOption) (*GetUserStatisticsResp, error)
GetUserFriends(ctx context.Context, in *GetUserFriendsReq, opts ...grpc.CallOption) (*GetUserFriendsResp, error)
GetUserIDByEmailAndPhoneNumber(ctx context.Context, in *GetUserIDByEmailAndPhoneNumberReq, opts ...grpc.CallOption) (*GetUserIDByEmailAndPhoneNumberResp, error)
GetUserToken(ctx context.Context, in *GetUserTokenReq, opts ...grpc.CallOption) (*GetUserTokenResp, error)
}
type adminCMSClient struct {
cc *grpc.ClientConn
}
func NewAdminCMSClient(cc *grpc.ClientConn) AdminCMSClient {
return &adminCMSClient{cc}
}
func (c *adminCMSClient) AdminLogin(ctx context.Context, in *AdminLoginReq, opts ...grpc.CallOption) (*AdminLoginResp, error) {
out := new(AdminLoginResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AdminLogin", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetChatLogs(ctx context.Context, in *GetChatLogsReq, opts ...grpc.CallOption) (*GetChatLogsResp, error) {
out := new(GetChatLogsResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetChatLogs", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetActiveUser(ctx context.Context, in *GetActiveUserReq, opts ...grpc.CallOption) (*GetActiveUserResp, error) {
out := new(GetActiveUserResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetActiveUser", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetActiveGroup(ctx context.Context, in *GetActiveGroupReq, opts ...grpc.CallOption) (*GetActiveGroupResp, error) {
out := new(GetActiveGroupResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetActiveGroup", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetMessageStatistics(ctx context.Context, in *GetMessageStatisticsReq, opts ...grpc.CallOption) (*GetMessageStatisticsResp, error) {
out := new(GetMessageStatisticsResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetMessageStatistics", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetGroupStatistics(ctx context.Context, in *GetGroupStatisticsReq, opts ...grpc.CallOption) (*GetGroupStatisticsResp, error) {
out := new(GetGroupStatisticsResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetGroupStatistics", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetUserStatistics(ctx context.Context, in *GetUserStatisticsReq, opts ...grpc.CallOption) (*GetUserStatisticsResp, error) {
out := new(GetUserStatisticsResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserStatistics", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetUserFriends(ctx context.Context, in *GetUserFriendsReq, opts ...grpc.CallOption) (*GetUserFriendsResp, error) {
out := new(GetUserFriendsResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserFriends", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetUserIDByEmailAndPhoneNumber(ctx context.Context, in *GetUserIDByEmailAndPhoneNumberReq, opts ...grpc.CallOption) (*GetUserIDByEmailAndPhoneNumberResp, error) {
out := new(GetUserIDByEmailAndPhoneNumberResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserIDByEmailAndPhoneNumber", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *adminCMSClient) GetUserToken(ctx context.Context, in *GetUserTokenReq, opts ...grpc.CallOption) (*GetUserTokenResp, error) {
out := new(GetUserTokenResp)
err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserToken", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for AdminCMS service
type AdminCMSServer interface {
AdminLogin(context.Context, *AdminLoginReq) (*AdminLoginResp, error)
GetChatLogs(context.Context, *GetChatLogsReq) (*GetChatLogsResp, error)
GetActiveUser(context.Context, *GetActiveUserReq) (*GetActiveUserResp, error)
GetActiveGroup(context.Context, *GetActiveGroupReq) (*GetActiveGroupResp, error)
GetMessageStatistics(context.Context, *GetMessageStatisticsReq) (*GetMessageStatisticsResp, error)
GetGroupStatistics(context.Context, *GetGroupStatisticsReq) (*GetGroupStatisticsResp, error)
GetUserStatistics(context.Context, *GetUserStatisticsReq) (*GetUserStatisticsResp, error)
GetUserFriends(context.Context, *GetUserFriendsReq) (*GetUserFriendsResp, error)
GetUserIDByEmailAndPhoneNumber(context.Context, *GetUserIDByEmailAndPhoneNumberReq) (*GetUserIDByEmailAndPhoneNumberResp, error)
GetUserToken(context.Context, *GetUserTokenReq) (*GetUserTokenResp, error)
}
func RegisterAdminCMSServer(s *grpc.Server, srv AdminCMSServer) {
s.RegisterService(&_AdminCMS_serviceDesc, srv)
}
func _AdminCMS_AdminLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AdminLoginReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).AdminLogin(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/AdminLogin",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).AdminLogin(ctx, req.(*AdminLoginReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetChatLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetChatLogsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetChatLogs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetChatLogs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetChatLogs(ctx, req.(*GetChatLogsReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetActiveUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetActiveUserReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetActiveUser(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetActiveUser",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetActiveUser(ctx, req.(*GetActiveUserReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetActiveGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetActiveGroupReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetActiveGroup(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetActiveGroup",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetActiveGroup(ctx, req.(*GetActiveGroupReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetMessageStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetMessageStatisticsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetMessageStatistics(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetMessageStatistics",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetMessageStatistics(ctx, req.(*GetMessageStatisticsReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetGroupStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetGroupStatisticsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetGroupStatistics(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetGroupStatistics",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetGroupStatistics(ctx, req.(*GetGroupStatisticsReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetUserStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetUserStatisticsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetUserStatistics(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetUserStatistics",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetUserStatistics(ctx, req.(*GetUserStatisticsReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetUserFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetUserFriendsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetUserFriends(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetUserFriends",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetUserFriends(ctx, req.(*GetUserFriendsReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetUserIDByEmailAndPhoneNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetUserIDByEmailAndPhoneNumberReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetUserIDByEmailAndPhoneNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetUserIDByEmailAndPhoneNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetUserIDByEmailAndPhoneNumber(ctx, req.(*GetUserIDByEmailAndPhoneNumberReq))
}
return interceptor(ctx, in, info, handler)
}
func _AdminCMS_GetUserToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetUserTokenReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AdminCMSServer).GetUserToken(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/admin_cms.adminCMS/GetUserToken",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AdminCMSServer).GetUserToken(ctx, req.(*GetUserTokenReq))
}
return interceptor(ctx, in, info, handler)
}
var _AdminCMS_serviceDesc = grpc.ServiceDesc{
ServiceName: "admin_cms.adminCMS",
HandlerType: (*AdminCMSServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "AdminLogin",
Handler: _AdminCMS_AdminLogin_Handler,
},
{
MethodName: "GetChatLogs",
Handler: _AdminCMS_GetChatLogs_Handler,
},
{
MethodName: "GetActiveUser",
Handler: _AdminCMS_GetActiveUser_Handler,
},
{
MethodName: "GetActiveGroup",
Handler: _AdminCMS_GetActiveGroup_Handler,
},
{
MethodName: "GetMessageStatistics",
Handler: _AdminCMS_GetMessageStatistics_Handler,
},
{
MethodName: "GetGroupStatistics",
Handler: _AdminCMS_GetGroupStatistics_Handler,
},
{
MethodName: "GetUserStatistics",
Handler: _AdminCMS_GetUserStatistics_Handler,
},
{
MethodName: "GetUserFriends",
Handler: _AdminCMS_GetUserFriends_Handler,
},
{
MethodName: "GetUserIDByEmailAndPhoneNumber",
Handler: _AdminCMS_GetUserIDByEmailAndPhoneNumber_Handler,
},
{
MethodName: "GetUserToken",
Handler: _AdminCMS_GetUserToken_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "admin_cms/admin_cms.proto",
}
func init() {
proto.RegisterFile("admin_cms/admin_cms.proto", fileDescriptor_admin_cms_d71cb129508715a2)
}
var fileDescriptor_admin_cms_d71cb129508715a2 = []byte{
// 1401 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x5f, 0x4f, 0x1b, 0x47,
0x10, 0x97, 0x6d, 0x6c, 0xf0, 0x18, 0x08, 0x6c, 0x48, 0x7a, 0x71, 0xfe, 0xd4, 0xb9, 0xa6, 0xad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