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.
1026 lines
42 KiB
1026 lines
42 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: msggateway/msg_gateway.proto
|
|
|
|
package msggateway // import "OpenIM/pkg/proto/msggateway"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import sdkws "OpenIM/pkg/proto/sdkws"
|
|
|
|
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 OnlinePushMsgReq struct {
|
|
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData" json:"msgData,omitempty"`
|
|
PushToUserID string `protobuf:"bytes,2,opt,name=pushToUserID" json:"pushToUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OnlinePushMsgReq) Reset() { *m = OnlinePushMsgReq{} }
|
|
func (m *OnlinePushMsgReq) String() string { return proto.CompactTextString(m) }
|
|
func (*OnlinePushMsgReq) ProtoMessage() {}
|
|
func (*OnlinePushMsgReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{0}
|
|
}
|
|
func (m *OnlinePushMsgReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OnlinePushMsgReq.Unmarshal(m, b)
|
|
}
|
|
func (m *OnlinePushMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OnlinePushMsgReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *OnlinePushMsgReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OnlinePushMsgReq.Merge(dst, src)
|
|
}
|
|
func (m *OnlinePushMsgReq) XXX_Size() int {
|
|
return xxx_messageInfo_OnlinePushMsgReq.Size(m)
|
|
}
|
|
func (m *OnlinePushMsgReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OnlinePushMsgReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OnlinePushMsgReq proto.InternalMessageInfo
|
|
|
|
func (m *OnlinePushMsgReq) GetMsgData() *sdkws.MsgData {
|
|
if m != nil {
|
|
return m.MsgData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *OnlinePushMsgReq) GetPushToUserID() string {
|
|
if m != nil {
|
|
return m.PushToUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OnlinePushMsgResp struct {
|
|
Resp []*SingleMsgToUserPlatform `protobuf:"bytes,1,rep,name=resp" json:"resp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OnlinePushMsgResp) Reset() { *m = OnlinePushMsgResp{} }
|
|
func (m *OnlinePushMsgResp) String() string { return proto.CompactTextString(m) }
|
|
func (*OnlinePushMsgResp) ProtoMessage() {}
|
|
func (*OnlinePushMsgResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{1}
|
|
}
|
|
func (m *OnlinePushMsgResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OnlinePushMsgResp.Unmarshal(m, b)
|
|
}
|
|
func (m *OnlinePushMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OnlinePushMsgResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *OnlinePushMsgResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OnlinePushMsgResp.Merge(dst, src)
|
|
}
|
|
func (m *OnlinePushMsgResp) XXX_Size() int {
|
|
return xxx_messageInfo_OnlinePushMsgResp.Size(m)
|
|
}
|
|
func (m *OnlinePushMsgResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OnlinePushMsgResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OnlinePushMsgResp proto.InternalMessageInfo
|
|
|
|
func (m *OnlinePushMsgResp) GetResp() []*SingleMsgToUserPlatform {
|
|
if m != nil {
|
|
return m.Resp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SingleMsgToUserResults struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
Resp []*SingleMsgToUserPlatform `protobuf:"bytes,2,rep,name=resp" json:"resp,omitempty"`
|
|
OnlinePush bool `protobuf:"varint,3,opt,name=onlinePush" json:"onlinePush,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SingleMsgToUserResults) Reset() { *m = SingleMsgToUserResults{} }
|
|
func (m *SingleMsgToUserResults) String() string { return proto.CompactTextString(m) }
|
|
func (*SingleMsgToUserResults) ProtoMessage() {}
|
|
func (*SingleMsgToUserResults) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{2}
|
|
}
|
|
func (m *SingleMsgToUserResults) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SingleMsgToUserResults.Unmarshal(m, b)
|
|
}
|
|
func (m *SingleMsgToUserResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SingleMsgToUserResults.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SingleMsgToUserResults) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SingleMsgToUserResults.Merge(dst, src)
|
|
}
|
|
func (m *SingleMsgToUserResults) XXX_Size() int {
|
|
return xxx_messageInfo_SingleMsgToUserResults.Size(m)
|
|
}
|
|
func (m *SingleMsgToUserResults) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SingleMsgToUserResults.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SingleMsgToUserResults proto.InternalMessageInfo
|
|
|
|
func (m *SingleMsgToUserResults) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SingleMsgToUserResults) GetResp() []*SingleMsgToUserPlatform {
|
|
if m != nil {
|
|
return m.Resp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SingleMsgToUserResults) GetOnlinePush() bool {
|
|
if m != nil {
|
|
return m.OnlinePush
|
|
}
|
|
return false
|
|
}
|
|
|
|
type OnlineBatchPushOneMsgReq struct {
|
|
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData" json:"msgData,omitempty"`
|
|
PushToUserIDs []string `protobuf:"bytes,2,rep,name=pushToUserIDs" json:"pushToUserIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OnlineBatchPushOneMsgReq) Reset() { *m = OnlineBatchPushOneMsgReq{} }
|
|
func (m *OnlineBatchPushOneMsgReq) String() string { return proto.CompactTextString(m) }
|
|
func (*OnlineBatchPushOneMsgReq) ProtoMessage() {}
|
|
func (*OnlineBatchPushOneMsgReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{3}
|
|
}
|
|
func (m *OnlineBatchPushOneMsgReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OnlineBatchPushOneMsgReq.Unmarshal(m, b)
|
|
}
|
|
func (m *OnlineBatchPushOneMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OnlineBatchPushOneMsgReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *OnlineBatchPushOneMsgReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OnlineBatchPushOneMsgReq.Merge(dst, src)
|
|
}
|
|
func (m *OnlineBatchPushOneMsgReq) XXX_Size() int {
|
|
return xxx_messageInfo_OnlineBatchPushOneMsgReq.Size(m)
|
|
}
|
|
func (m *OnlineBatchPushOneMsgReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OnlineBatchPushOneMsgReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OnlineBatchPushOneMsgReq proto.InternalMessageInfo
|
|
|
|
func (m *OnlineBatchPushOneMsgReq) GetMsgData() *sdkws.MsgData {
|
|
if m != nil {
|
|
return m.MsgData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *OnlineBatchPushOneMsgReq) GetPushToUserIDs() []string {
|
|
if m != nil {
|
|
return m.PushToUserIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnlineBatchPushOneMsgResp struct {
|
|
SinglePushResult []*SingleMsgToUserResults `protobuf:"bytes,1,rep,name=singlePushResult" json:"singlePushResult,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OnlineBatchPushOneMsgResp) Reset() { *m = OnlineBatchPushOneMsgResp{} }
|
|
func (m *OnlineBatchPushOneMsgResp) String() string { return proto.CompactTextString(m) }
|
|
func (*OnlineBatchPushOneMsgResp) ProtoMessage() {}
|
|
func (*OnlineBatchPushOneMsgResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{4}
|
|
}
|
|
func (m *OnlineBatchPushOneMsgResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OnlineBatchPushOneMsgResp.Unmarshal(m, b)
|
|
}
|
|
func (m *OnlineBatchPushOneMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OnlineBatchPushOneMsgResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *OnlineBatchPushOneMsgResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OnlineBatchPushOneMsgResp.Merge(dst, src)
|
|
}
|
|
func (m *OnlineBatchPushOneMsgResp) XXX_Size() int {
|
|
return xxx_messageInfo_OnlineBatchPushOneMsgResp.Size(m)
|
|
}
|
|
func (m *OnlineBatchPushOneMsgResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OnlineBatchPushOneMsgResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OnlineBatchPushOneMsgResp proto.InternalMessageInfo
|
|
|
|
func (m *OnlineBatchPushOneMsgResp) GetSinglePushResult() []*SingleMsgToUserResults {
|
|
if m != nil {
|
|
return m.SinglePushResult
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SingleMsgToUserPlatform struct {
|
|
ResultCode int64 `protobuf:"varint,1,opt,name=ResultCode" json:"ResultCode,omitempty"`
|
|
RecvID string `protobuf:"bytes,2,opt,name=RecvID" json:"RecvID,omitempty"`
|
|
RecvPlatFormID int32 `protobuf:"varint,3,opt,name=RecvPlatFormID" json:"RecvPlatFormID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SingleMsgToUserPlatform) Reset() { *m = SingleMsgToUserPlatform{} }
|
|
func (m *SingleMsgToUserPlatform) String() string { return proto.CompactTextString(m) }
|
|
func (*SingleMsgToUserPlatform) ProtoMessage() {}
|
|
func (*SingleMsgToUserPlatform) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{5}
|
|
}
|
|
func (m *SingleMsgToUserPlatform) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SingleMsgToUserPlatform.Unmarshal(m, b)
|
|
}
|
|
func (m *SingleMsgToUserPlatform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SingleMsgToUserPlatform.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SingleMsgToUserPlatform) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SingleMsgToUserPlatform.Merge(dst, src)
|
|
}
|
|
func (m *SingleMsgToUserPlatform) XXX_Size() int {
|
|
return xxx_messageInfo_SingleMsgToUserPlatform.Size(m)
|
|
}
|
|
func (m *SingleMsgToUserPlatform) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SingleMsgToUserPlatform.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SingleMsgToUserPlatform proto.InternalMessageInfo
|
|
|
|
func (m *SingleMsgToUserPlatform) GetResultCode() int64 {
|
|
if m != nil {
|
|
return m.ResultCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SingleMsgToUserPlatform) GetRecvID() string {
|
|
if m != nil {
|
|
return m.RecvID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SingleMsgToUserPlatform) GetRecvPlatFormID() int32 {
|
|
if m != nil {
|
|
return m.RecvPlatFormID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetUsersOnlineStatusReq struct {
|
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs" json:"userIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusReq) Reset() { *m = GetUsersOnlineStatusReq{} }
|
|
func (m *GetUsersOnlineStatusReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUsersOnlineStatusReq) ProtoMessage() {}
|
|
func (*GetUsersOnlineStatusReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{6}
|
|
}
|
|
func (m *GetUsersOnlineStatusReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUsersOnlineStatusReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUsersOnlineStatusReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUsersOnlineStatusReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUsersOnlineStatusReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUsersOnlineStatusReq.Merge(dst, src)
|
|
}
|
|
func (m *GetUsersOnlineStatusReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetUsersOnlineStatusReq.Size(m)
|
|
}
|
|
func (m *GetUsersOnlineStatusReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUsersOnlineStatusReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUsersOnlineStatusReq proto.InternalMessageInfo
|
|
|
|
func (m *GetUsersOnlineStatusReq) GetUserIDs() []string {
|
|
if m != nil {
|
|
return m.UserIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUsersOnlineStatusResp struct {
|
|
SuccessResult []*GetUsersOnlineStatusResp_SuccessResult `protobuf:"bytes,1,rep,name=successResult" json:"successResult,omitempty"`
|
|
FailedResult []*GetUsersOnlineStatusResp_FailedDetail `protobuf:"bytes,2,rep,name=failedResult" json:"failedResult,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp) Reset() { *m = GetUsersOnlineStatusResp{} }
|
|
func (m *GetUsersOnlineStatusResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUsersOnlineStatusResp) ProtoMessage() {}
|
|
func (*GetUsersOnlineStatusResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{7}
|
|
}
|
|
func (m *GetUsersOnlineStatusResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUsersOnlineStatusResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUsersOnlineStatusResp.Merge(dst, src)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp.Size(m)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUsersOnlineStatusResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUsersOnlineStatusResp proto.InternalMessageInfo
|
|
|
|
func (m *GetUsersOnlineStatusResp) GetSuccessResult() []*GetUsersOnlineStatusResp_SuccessResult {
|
|
if m != nil {
|
|
return m.SuccessResult
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp) GetFailedResult() []*GetUsersOnlineStatusResp_FailedDetail {
|
|
if m != nil {
|
|
return m.FailedResult
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUsersOnlineStatusResp_SuccessDetail struct {
|
|
Platform string `protobuf:"bytes,1,opt,name=platform" json:"platform,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
|
|
ConnID string `protobuf:"bytes,3,opt,name=connID" json:"connID,omitempty"`
|
|
IsBackground bool `protobuf:"varint,4,opt,name=isBackground" json:"isBackground,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) Reset() {
|
|
*m = GetUsersOnlineStatusResp_SuccessDetail{}
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUsersOnlineStatusResp_SuccessDetail) ProtoMessage() {}
|
|
func (*GetUsersOnlineStatusResp_SuccessDetail) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{7, 0}
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUsersOnlineStatusResp_SuccessDetail) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.Merge(dst, src)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) XXX_Size() int {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.Size(m)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail proto.InternalMessageInfo
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) GetPlatform() string {
|
|
if m != nil {
|
|
return m.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) GetStatus() string {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) GetConnID() string {
|
|
if m != nil {
|
|
return m.ConnID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessDetail) GetIsBackground() bool {
|
|
if m != nil {
|
|
return m.IsBackground
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetUsersOnlineStatusResp_FailedDetail struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp_FailedDetail) Reset() { *m = GetUsersOnlineStatusResp_FailedDetail{} }
|
|
func (m *GetUsersOnlineStatusResp_FailedDetail) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUsersOnlineStatusResp_FailedDetail) ProtoMessage() {}
|
|
func (*GetUsersOnlineStatusResp_FailedDetail) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{7, 1}
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_FailedDetail) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_FailedDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUsersOnlineStatusResp_FailedDetail) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.Merge(dst, src)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_FailedDetail) XXX_Size() int {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.Size(m)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_FailedDetail) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail proto.InternalMessageInfo
|
|
|
|
func (m *GetUsersOnlineStatusResp_FailedDetail) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUsersOnlineStatusResp_SuccessResult struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
|
|
DetailPlatformStatus []*GetUsersOnlineStatusResp_SuccessDetail `protobuf:"bytes,3,rep,name=detailPlatformStatus" json:"detailPlatformStatus,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) Reset() {
|
|
*m = GetUsersOnlineStatusResp_SuccessResult{}
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUsersOnlineStatusResp_SuccessResult) ProtoMessage() {}
|
|
func (*GetUsersOnlineStatusResp_SuccessResult) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{7, 2}
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUsersOnlineStatusResp_SuccessResult) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.Merge(dst, src)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) XXX_Size() int {
|
|
return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.Size(m)
|
|
}
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult proto.InternalMessageInfo
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) GetStatus() string {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUsersOnlineStatusResp_SuccessResult) GetDetailPlatformStatus() []*GetUsersOnlineStatusResp_SuccessDetail {
|
|
if m != nil {
|
|
return m.DetailPlatformStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type KickUserOfflineReq struct {
|
|
PlatformID int32 `protobuf:"varint,1,opt,name=platformID" json:"platformID,omitempty"`
|
|
KickUserIDList []string `protobuf:"bytes,2,rep,name=kickUserIDList" json:"kickUserIDList,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *KickUserOfflineReq) Reset() { *m = KickUserOfflineReq{} }
|
|
func (m *KickUserOfflineReq) String() string { return proto.CompactTextString(m) }
|
|
func (*KickUserOfflineReq) ProtoMessage() {}
|
|
func (*KickUserOfflineReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{8}
|
|
}
|
|
func (m *KickUserOfflineReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_KickUserOfflineReq.Unmarshal(m, b)
|
|
}
|
|
func (m *KickUserOfflineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_KickUserOfflineReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *KickUserOfflineReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KickUserOfflineReq.Merge(dst, src)
|
|
}
|
|
func (m *KickUserOfflineReq) XXX_Size() int {
|
|
return xxx_messageInfo_KickUserOfflineReq.Size(m)
|
|
}
|
|
func (m *KickUserOfflineReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KickUserOfflineReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KickUserOfflineReq proto.InternalMessageInfo
|
|
|
|
func (m *KickUserOfflineReq) GetPlatformID() int32 {
|
|
if m != nil {
|
|
return m.PlatformID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *KickUserOfflineReq) GetKickUserIDList() []string {
|
|
if m != nil {
|
|
return m.KickUserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type KickUserOfflineResp struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *KickUserOfflineResp) Reset() { *m = KickUserOfflineResp{} }
|
|
func (m *KickUserOfflineResp) String() string { return proto.CompactTextString(m) }
|
|
func (*KickUserOfflineResp) ProtoMessage() {}
|
|
func (*KickUserOfflineResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{9}
|
|
}
|
|
func (m *KickUserOfflineResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_KickUserOfflineResp.Unmarshal(m, b)
|
|
}
|
|
func (m *KickUserOfflineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_KickUserOfflineResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *KickUserOfflineResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KickUserOfflineResp.Merge(dst, src)
|
|
}
|
|
func (m *KickUserOfflineResp) XXX_Size() int {
|
|
return xxx_messageInfo_KickUserOfflineResp.Size(m)
|
|
}
|
|
func (m *KickUserOfflineResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KickUserOfflineResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KickUserOfflineResp proto.InternalMessageInfo
|
|
|
|
type MultiTerminalLoginCheckReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
PlatformID int32 `protobuf:"varint,2,opt,name=platformID" json:"platformID,omitempty"`
|
|
Token string `protobuf:"bytes,3,opt,name=token" json:"token,omitempty"`
|
|
OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MultiTerminalLoginCheckReq) Reset() { *m = MultiTerminalLoginCheckReq{} }
|
|
func (m *MultiTerminalLoginCheckReq) String() string { return proto.CompactTextString(m) }
|
|
func (*MultiTerminalLoginCheckReq) ProtoMessage() {}
|
|
func (*MultiTerminalLoginCheckReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{10}
|
|
}
|
|
func (m *MultiTerminalLoginCheckReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MultiTerminalLoginCheckReq.Unmarshal(m, b)
|
|
}
|
|
func (m *MultiTerminalLoginCheckReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MultiTerminalLoginCheckReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *MultiTerminalLoginCheckReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MultiTerminalLoginCheckReq.Merge(dst, src)
|
|
}
|
|
func (m *MultiTerminalLoginCheckReq) XXX_Size() int {
|
|
return xxx_messageInfo_MultiTerminalLoginCheckReq.Size(m)
|
|
}
|
|
func (m *MultiTerminalLoginCheckReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MultiTerminalLoginCheckReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MultiTerminalLoginCheckReq proto.InternalMessageInfo
|
|
|
|
func (m *MultiTerminalLoginCheckReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MultiTerminalLoginCheckReq) GetPlatformID() int32 {
|
|
if m != nil {
|
|
return m.PlatformID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MultiTerminalLoginCheckReq) GetToken() string {
|
|
if m != nil {
|
|
return m.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MultiTerminalLoginCheckReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MultiTerminalLoginCheckResp struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MultiTerminalLoginCheckResp) Reset() { *m = MultiTerminalLoginCheckResp{} }
|
|
func (m *MultiTerminalLoginCheckResp) String() string { return proto.CompactTextString(m) }
|
|
func (*MultiTerminalLoginCheckResp) ProtoMessage() {}
|
|
func (*MultiTerminalLoginCheckResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_msg_gateway_e7f707bdf43cbba6, []int{11}
|
|
}
|
|
func (m *MultiTerminalLoginCheckResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MultiTerminalLoginCheckResp.Unmarshal(m, b)
|
|
}
|
|
func (m *MultiTerminalLoginCheckResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MultiTerminalLoginCheckResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *MultiTerminalLoginCheckResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MultiTerminalLoginCheckResp.Merge(dst, src)
|
|
}
|
|
func (m *MultiTerminalLoginCheckResp) XXX_Size() int {
|
|
return xxx_messageInfo_MultiTerminalLoginCheckResp.Size(m)
|
|
}
|
|
func (m *MultiTerminalLoginCheckResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MultiTerminalLoginCheckResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MultiTerminalLoginCheckResp proto.InternalMessageInfo
|
|
|
|
func init() {
|
|
proto.RegisterType((*OnlinePushMsgReq)(nil), "OpenIMServer.msggateway.OnlinePushMsgReq")
|
|
proto.RegisterType((*OnlinePushMsgResp)(nil), "OpenIMServer.msggateway.OnlinePushMsgResp")
|
|
proto.RegisterType((*SingleMsgToUserResults)(nil), "OpenIMServer.msggateway.SingleMsgToUserResults")
|
|
proto.RegisterType((*OnlineBatchPushOneMsgReq)(nil), "OpenIMServer.msggateway.OnlineBatchPushOneMsgReq")
|
|
proto.RegisterType((*OnlineBatchPushOneMsgResp)(nil), "OpenIMServer.msggateway.OnlineBatchPushOneMsgResp")
|
|
proto.RegisterType((*SingleMsgToUserPlatform)(nil), "OpenIMServer.msggateway.SingleMsgToUserPlatform")
|
|
proto.RegisterType((*GetUsersOnlineStatusReq)(nil), "OpenIMServer.msggateway.GetUsersOnlineStatusReq")
|
|
proto.RegisterType((*GetUsersOnlineStatusResp)(nil), "OpenIMServer.msggateway.GetUsersOnlineStatusResp")
|
|
proto.RegisterType((*GetUsersOnlineStatusResp_SuccessDetail)(nil), "OpenIMServer.msggateway.GetUsersOnlineStatusResp.SuccessDetail")
|
|
proto.RegisterType((*GetUsersOnlineStatusResp_FailedDetail)(nil), "OpenIMServer.msggateway.GetUsersOnlineStatusResp.FailedDetail")
|
|
proto.RegisterType((*GetUsersOnlineStatusResp_SuccessResult)(nil), "OpenIMServer.msggateway.GetUsersOnlineStatusResp.SuccessResult")
|
|
proto.RegisterType((*KickUserOfflineReq)(nil), "OpenIMServer.msggateway.KickUserOfflineReq")
|
|
proto.RegisterType((*KickUserOfflineResp)(nil), "OpenIMServer.msggateway.KickUserOfflineResp")
|
|
proto.RegisterType((*MultiTerminalLoginCheckReq)(nil), "OpenIMServer.msggateway.MultiTerminalLoginCheckReq")
|
|
proto.RegisterType((*MultiTerminalLoginCheckResp)(nil), "OpenIMServer.msggateway.MultiTerminalLoginCheckResp")
|
|
}
|
|
|
|
// 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 MsgGateway service
|
|
|
|
type MsgGatewayClient interface {
|
|
OnlinePushMsg(ctx context.Context, in *OnlinePushMsgReq, opts ...grpc.CallOption) (*OnlinePushMsgResp, error)
|
|
GetUsersOnlineStatus(ctx context.Context, in *GetUsersOnlineStatusReq, opts ...grpc.CallOption) (*GetUsersOnlineStatusResp, error)
|
|
OnlineBatchPushOneMsg(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error)
|
|
SuperGroupOnlineBatchPushOneMsg(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error)
|
|
KickUserOffline(ctx context.Context, in *KickUserOfflineReq, opts ...grpc.CallOption) (*KickUserOfflineResp, error)
|
|
MultiTerminalLoginCheck(ctx context.Context, in *MultiTerminalLoginCheckReq, opts ...grpc.CallOption) (*MultiTerminalLoginCheckResp, error)
|
|
}
|
|
|
|
type msgGatewayClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewMsgGatewayClient(cc *grpc.ClientConn) MsgGatewayClient {
|
|
return &msgGatewayClient{cc}
|
|
}
|
|
|
|
func (c *msgGatewayClient) OnlinePushMsg(ctx context.Context, in *OnlinePushMsgReq, opts ...grpc.CallOption) (*OnlinePushMsgResp, error) {
|
|
out := new(OnlinePushMsgResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.msggateway.msgGateway/OnlinePushMsg", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *msgGatewayClient) GetUsersOnlineStatus(ctx context.Context, in *GetUsersOnlineStatusReq, opts ...grpc.CallOption) (*GetUsersOnlineStatusResp, error) {
|
|
out := new(GetUsersOnlineStatusResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.msggateway.msgGateway/GetUsersOnlineStatus", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *msgGatewayClient) OnlineBatchPushOneMsg(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error) {
|
|
out := new(OnlineBatchPushOneMsgResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.msggateway.msgGateway/OnlineBatchPushOneMsg", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *msgGatewayClient) SuperGroupOnlineBatchPushOneMsg(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error) {
|
|
out := new(OnlineBatchPushOneMsgResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.msggateway.msgGateway/SuperGroupOnlineBatchPushOneMsg", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *msgGatewayClient) KickUserOffline(ctx context.Context, in *KickUserOfflineReq, opts ...grpc.CallOption) (*KickUserOfflineResp, error) {
|
|
out := new(KickUserOfflineResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.msggateway.msgGateway/KickUserOffline", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *msgGatewayClient) MultiTerminalLoginCheck(ctx context.Context, in *MultiTerminalLoginCheckReq, opts ...grpc.CallOption) (*MultiTerminalLoginCheckResp, error) {
|
|
out := new(MultiTerminalLoginCheckResp)
|
|
err := grpc.Invoke(ctx, "/OpenIMServer.msggateway.msgGateway/MultiTerminalLoginCheck", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// Server API for MsgGateway service
|
|
|
|
type MsgGatewayServer interface {
|
|
OnlinePushMsg(context.Context, *OnlinePushMsgReq) (*OnlinePushMsgResp, error)
|
|
GetUsersOnlineStatus(context.Context, *GetUsersOnlineStatusReq) (*GetUsersOnlineStatusResp, error)
|
|
OnlineBatchPushOneMsg(context.Context, *OnlineBatchPushOneMsgReq) (*OnlineBatchPushOneMsgResp, error)
|
|
SuperGroupOnlineBatchPushOneMsg(context.Context, *OnlineBatchPushOneMsgReq) (*OnlineBatchPushOneMsgResp, error)
|
|
KickUserOffline(context.Context, *KickUserOfflineReq) (*KickUserOfflineResp, error)
|
|
MultiTerminalLoginCheck(context.Context, *MultiTerminalLoginCheckReq) (*MultiTerminalLoginCheckResp, error)
|
|
}
|
|
|
|
func RegisterMsgGatewayServer(s *grpc.Server, srv MsgGatewayServer) {
|
|
s.RegisterService(&_MsgGateway_serviceDesc, srv)
|
|
}
|
|
|
|
func _MsgGateway_OnlinePushMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OnlinePushMsgReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MsgGatewayServer).OnlinePushMsg(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.msggateway.msgGateway/OnlinePushMsg",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MsgGatewayServer).OnlinePushMsg(ctx, req.(*OnlinePushMsgReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MsgGateway_GetUsersOnlineStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUsersOnlineStatusReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MsgGatewayServer).GetUsersOnlineStatus(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.msggateway.msgGateway/GetUsersOnlineStatus",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MsgGatewayServer).GetUsersOnlineStatus(ctx, req.(*GetUsersOnlineStatusReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MsgGateway_OnlineBatchPushOneMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OnlineBatchPushOneMsgReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MsgGatewayServer).OnlineBatchPushOneMsg(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.msggateway.msgGateway/OnlineBatchPushOneMsg",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MsgGatewayServer).OnlineBatchPushOneMsg(ctx, req.(*OnlineBatchPushOneMsgReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MsgGateway_SuperGroupOnlineBatchPushOneMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OnlineBatchPushOneMsgReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MsgGatewayServer).SuperGroupOnlineBatchPushOneMsg(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.msggateway.msgGateway/SuperGroupOnlineBatchPushOneMsg",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MsgGatewayServer).SuperGroupOnlineBatchPushOneMsg(ctx, req.(*OnlineBatchPushOneMsgReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MsgGateway_KickUserOffline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(KickUserOfflineReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MsgGatewayServer).KickUserOffline(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.msggateway.msgGateway/KickUserOffline",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MsgGatewayServer).KickUserOffline(ctx, req.(*KickUserOfflineReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MsgGateway_MultiTerminalLoginCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(MultiTerminalLoginCheckReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MsgGatewayServer).MultiTerminalLoginCheck(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/OpenIMServer.msggateway.msgGateway/MultiTerminalLoginCheck",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MsgGatewayServer).MultiTerminalLoginCheck(ctx, req.(*MultiTerminalLoginCheckReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _MsgGateway_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "OpenIMServer.msggateway.msgGateway",
|
|
HandlerType: (*MsgGatewayServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "OnlinePushMsg",
|
|
Handler: _MsgGateway_OnlinePushMsg_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetUsersOnlineStatus",
|
|
Handler: _MsgGateway_GetUsersOnlineStatus_Handler,
|
|
},
|
|
{
|
|
MethodName: "OnlineBatchPushOneMsg",
|
|
Handler: _MsgGateway_OnlineBatchPushOneMsg_Handler,
|
|
},
|
|
{
|
|
MethodName: "SuperGroupOnlineBatchPushOneMsg",
|
|
Handler: _MsgGateway_SuperGroupOnlineBatchPushOneMsg_Handler,
|
|
},
|
|
{
|
|
MethodName: "KickUserOffline",
|
|
Handler: _MsgGateway_KickUserOffline_Handler,
|
|
},
|
|
{
|
|
MethodName: "MultiTerminalLoginCheck",
|
|
Handler: _MsgGateway_MultiTerminalLoginCheck_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "msggateway/msg_gateway.proto",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("msggateway/msg_gateway.proto", fileDescriptor_msg_gateway_e7f707bdf43cbba6)
|
|
}
|
|
|
|
var fileDescriptor_msg_gateway_e7f707bdf43cbba6 = []byte{
|
|
// 803 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xdd, 0x4e, 0xeb, 0x46,
|
|
0x10, 0x96, 0x49, 0xc2, 0xcf, 0x40, 0x5a, 0xba, 0x05, 0xe2, 0x9a, 0x96, 0x46, 0x56, 0x45, 0xd3,
|
|
0x1f, 0x12, 0x08, 0xed, 0x55, 0xa5, 0x56, 0x82, 0x08, 0x14, 0x95, 0x28, 0xc8, 0xa1, 0x17, 0xfd,
|
|
0x91, 0x2a, 0xe3, 0x6c, 0x1c, 0x2b, 0xfe, 0x59, 0x3c, 0x36, 0x29, 0xaa, 0xd4, 0xde, 0xf4, 0xa2,
|
|
0x17, 0xe7, 0xfa, 0x3c, 0xc9, 0x79, 0x85, 0xf3, 0x40, 0xe7, 0x0d, 0x8e, 0xd6, 0xbb, 0x09, 0x76,
|
|
0x12, 0xeb, 0x10, 0x71, 0x71, 0xee, 0xbc, 0xdf, 0xce, 0x7c, 0x33, 0xf3, 0xcd, 0x4c, 0x36, 0xf0,
|
|
0xa9, 0x87, 0xb6, 0x6d, 0x46, 0x74, 0x6c, 0x3e, 0x34, 0x3c, 0xb4, 0xff, 0x94, 0xdf, 0x75, 0x16,
|
|
0x06, 0x51, 0x40, 0x2a, 0x5d, 0x46, 0xfd, 0x76, 0xa7, 0x47, 0xc3, 0x7b, 0x1a, 0xd6, 0x1f, 0x4d,
|
|
0xb5, 0x2f, 0xf9, 0xc5, 0x51, 0xbb, 0x73, 0x24, 0xae, 0x1a, 0x6c, 0x64, 0x37, 0x12, 0x97, 0x06,
|
|
0xf6, 0x47, 0x63, 0x6c, 0x8c, 0x51, 0x30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