mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts: # pkg/common/config/config.go # pkg/discoveryregistry/discovery_register.go
This commit is contained in:
parent
2edb3cfd8c
commit
ab6fa41438
@ -1,17 +1,19 @@
|
||||
syntax = "proto3";
|
||||
import "Open-IM-Server/pkg/proto/sdkws/ws.proto";
|
||||
option go_package = "OpenIM/pkg/proto/relay;pbRelay";
|
||||
package relay;
|
||||
option go_package = "OpenIM/pkg/proto/msggateway;pbMsggateway";
|
||||
package msggateway;
|
||||
|
||||
message OnlinePushMsgReq {
|
||||
string OperationID = 1;
|
||||
sdkws.MsgData msgData = 2;
|
||||
string pushToUserID = 3;
|
||||
}
|
||||
|
||||
message OnlinePushMsgResp{
|
||||
repeated SingleMsgToUserPlatform resp = 1;
|
||||
repeated SingleMsgToUserPlatform resp = 1;
|
||||
}
|
||||
message SingelMsgToUserResultList{
|
||||
|
||||
message SingleMsgToUserResultList{
|
||||
string userID =1;
|
||||
repeated SingleMsgToUserPlatform resp = 2;
|
||||
bool onlinePush = 3;
|
||||
@ -22,8 +24,9 @@ message OnlineBatchPushOneMsgReq{
|
||||
sdkws.MsgData msgData = 2;
|
||||
repeated string pushToUserIDList = 3;
|
||||
}
|
||||
|
||||
message OnlineBatchPushOneMsgResp{
|
||||
repeated SingelMsgToUserResultList singlePushResult= 1;
|
||||
repeated SingleMsgToUserResultList singlePushResult= 1;
|
||||
}
|
||||
//message SendMsgByWSReq{
|
||||
// string SendID = 1;
|
||||
@ -47,6 +50,7 @@ message GetUsersOnlineStatusReq{
|
||||
string operationID = 2;
|
||||
string opUserID = 3;
|
||||
}
|
||||
|
||||
message GetUsersOnlineStatusResp{
|
||||
int32 errCode = 1;
|
||||
string errMsg = 2;
|
||||
@ -67,16 +71,16 @@ message GetUsersOnlineStatusResp{
|
||||
string userID = 1;
|
||||
string status = 2;
|
||||
repeated SuccessDetail detailPlatformStatus = 3;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
message KickUserOfflineReq{
|
||||
string operationID = 1;
|
||||
int32 platformID = 2;
|
||||
repeated string kickUserIDList = 3;
|
||||
}
|
||||
message KickUserOfflineResp{
|
||||
|
||||
message KickUserOfflineResp{
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@ all_proto=(
|
||||
rtc/rtc.proto
|
||||
msg/msg.proto
|
||||
push/push.proto
|
||||
relay/relay.proto
|
||||
msggateway/msg_gateway.proto
|
||||
sdkws/ws.proto
|
||||
conversation/conversation.proto
|
||||
file/file.proto
|
||||
|
@ -1,6 +1,6 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "OpenIM/pkg/proto/file;file";
|
||||
package file;
|
||||
option go_package = "OpenIM/pkg/proto/third;third";
|
||||
package third;
|
||||
|
||||
|
||||
message ApplySpaceReq {
|
||||
@ -26,7 +26,7 @@ message ConfirmSpaceResp {
|
||||
string confirmID = 1;
|
||||
}
|
||||
|
||||
service file {
|
||||
service third {
|
||||
rpc ApplySpaceReq(ApplySpaceReq) returns(ApplySpaceResp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user