Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
zhaominxu
Open-IM-Server
提交
3f9c3704
O
Open-IM-Server
项目概览
zhaominxu
/
Open-IM-Server
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Open-IM-Server
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3f9c3704
编写于
6月 28, 2021
作者:
落凡尘.
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update proto
上级
1e4a1dff
变更
11
展开全部
隐藏空白更改
内联
并排
Showing
11 changed file
with
2925 addition
and
875 deletion
+2925
-875
src/proto/auth/auth.pb.go
src/proto/auth/auth.pb.go
+7
-5
src/proto/auto_proto.sh
src/proto/auto_proto.sh
+3
-0
src/proto/chat/chat.pb.go
src/proto/chat/chat.pb.go
+73
-63
src/proto/chat/chat.proto
src/proto/chat/chat.proto
+5
-2
src/proto/friend/friend.pb.go
src/proto/friend/friend.pb.go
+377
-188
src/proto/friend/friend.proto
src/proto/friend/friend.proto
+19
-8
src/proto/group/group.pb.go
src/proto/group/group.pb.go
+2203
-543
src/proto/group/group.proto
src/proto/group/group.proto
+217
-51
src/proto/push/push.pb.go
src/proto/push/push.pb.go
+7
-5
src/proto/relay/relay.pb.go
src/proto/relay/relay.pb.go
+7
-5
src/proto/user/user.pb.go
src/proto/user/user.pb.go
+7
-5
未找到文件。
src/proto/auth/auth.pb.go
浏览文件 @
3f9c3704
...
...
@@ -275,7 +275,9 @@ func init() {
proto
.
RegisterType
((
*
UserTokenResp
)(
nil
),
"pbAuth.UserTokenResp"
)
}
func
init
()
{
proto
.
RegisterFile
(
"auth/auth.proto"
,
fileDescriptor_712ec48c1eaf43a2
)
}
func
init
()
{
proto
.
RegisterFile
(
"auth/auth.proto"
,
fileDescriptor_712ec48c1eaf43a2
)
}
var
fileDescriptor_712ec48c1eaf43a2
=
[]
byte
{
// 346 bytes of a gzipped FileDescriptorProto
...
...
@@ -305,11 +307,11 @@ var fileDescriptor_712ec48c1eaf43a2 = []byte{
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
grpc
.
ClientConn
var
_
grpc
.
ClientConn
Interface
// 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
.
SupportPackageIsVersion
4
const
_
=
grpc
.
SupportPackageIsVersion
6
// AuthClient is the client API for Auth service.
//
...
...
@@ -320,10 +322,10 @@ type AuthClient interface {
}
type
authClient
struct
{
cc
*
grpc
.
ClientConn
cc
grpc
.
ClientConnInterface
}
func
NewAuthClient
(
cc
*
grpc
.
ClientConn
)
AuthClient
{
func
NewAuthClient
(
cc
grpc
.
ClientConnInterface
)
AuthClient
{
return
&
authClient
{
cc
}
}
...
...
src/proto/auto_proto.sh
浏览文件 @
3f9c3704
...
...
@@ -5,6 +5,9 @@ source ./proto_dir.cfg
for
((
i
=
0
;
i <
${#
all_proto
[*]
}
;
i++
))
;
do
proto
=
${
all_proto
[
$i
]
}
protoc
--go_out
=
plugins
=
grpc:.
$proto
s
=
$(
echo
$proto
|
sed
's/ //g'
)
v
=
${
s
//proto/pb.go
}
protoc-go-inject-tag
-input
=
./
$v
echo
"protoc --go_out=plugins=grpc:."
$proto
done
echo
"proto file generate success..."
src/proto/chat/chat.pb.go
浏览文件 @
3f9c3704
...
...
@@ -879,8 +879,9 @@ type UserSendMsgResp struct {
ErrMsg
string
`protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
ReqIdentifier
int32
`protobuf:"varint,3,opt,name=ReqIdentifier,proto3" json:"ReqIdentifier,omitempty"`
MsgIncr
int32
`protobuf:"varint,4,opt,name=MsgIncr,proto3" json:"MsgIncr,omitempty"`
ServerMsgID
string
`protobuf:"bytes,5,opt,name=ServerMsgID,proto3" json:"ServerMsgID,omitempty"`
ClientMsgID
string
`protobuf:"bytes,6,opt,name=ClientMsgID,proto3" json:"ClientMsgID,omitempty"`
SendTime
int64
`protobuf:"varint,5,opt,name=SendTime,proto3" json:"SendTime,omitempty"`
ServerMsgID
string
`protobuf:"bytes,6,opt,name=ServerMsgID,proto3" json:"ServerMsgID,omitempty"`
ClientMsgID
string
`protobuf:"bytes,7,opt,name=ClientMsgID,proto3" json:"ClientMsgID,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
...
@@ -939,6 +940,13 @@ func (m *UserSendMsgResp) GetMsgIncr() int32 {
return
0
}
func
(
m
*
UserSendMsgResp
)
GetSendTime
()
int64
{
if
m
!=
nil
{
return
m
.
SendTime
}
return
0
}
func
(
m
*
UserSendMsgResp
)
GetServerMsgID
()
string
{
if
m
!=
nil
{
return
m
.
ServerMsgID
...
...
@@ -966,74 +974,76 @@ func init() {
proto
.
RegisterType
((
*
UserSendMsgResp
)(
nil
),
"pbChat.UserSendMsgResp"
)
}
func
init
()
{
proto
.
RegisterFile
(
"chat/chat.proto"
,
fileDescriptor_767a49518b351716
)
}
func
init
()
{
proto
.
RegisterFile
(
"chat/chat.proto"
,
fileDescriptor_767a49518b351716
)
}
var
fileDescriptor_767a49518b351716
=
[]
byte
{
// 8
67
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xb4
,
0x56
,
0x
4f
,
0x6a
,
0xfb
,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
,
0xea
,
0x
f3
,
0x3f
,
0x94
,
0xdf
,
0xc8
,
0xe1
,
0x3b
,
0x43
,
0xfc
,
0xb1
,
0xfc
,
0xea
,
0xff
,
0x00
,
0x00
,
0x00
,
0x
ff
,
0xff
,
0x1f
,
0x48
,
0xc5
,
0x48
,
0x6b
,
0x
0a
,
0x00
,
0x00
,
}
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
grpc
.
ClientConn
var
_
grpc
.
ClientConn
Interface
// 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
.
SupportPackageIsVersion
4
const
_
=
grpc
.
SupportPackageIsVersion
6
// ChatClient is the client API for Chat service.
//
...
...
@@ -1045,10 +1055,10 @@ type ChatClient interface {
}
type
chatClient
struct
{
cc
*
grpc
.
ClientConn
cc
grpc
.
ClientConnInterface
}
func
NewChatClient
(
cc
*
grpc
.
ClientConn
)
ChatClient
{
func
NewChatClient
(
cc
grpc
.
ClientConnInterface
)
ChatClient
{
return
&
chatClient
{
cc
}
}
...
...
src/proto/chat/chat.proto
浏览文件 @
3f9c3704
...
...
@@ -18,6 +18,8 @@ message WSToMsgSvrChatMsg{
int32
PlatformID
=
13
;
repeated
string
ForceList
=
14
;
}
message
MsgSvrToPushSvrChatMsg
{
string
SendID
=
1
;
string
RecvID
=
2
;
...
...
@@ -113,8 +115,9 @@ message UserSendMsgResp {
string
ErrMsg
=
2
;
int32
ReqIdentifier
=
3
;
int32
MsgIncr
=
4
;
string
ServerMsgID
=
5
;
string
ClientMsgID
=
6
;
int64
SendTime
=
5
;
string
ServerMsgID
=
6
;
string
ClientMsgID
=
7
;
}
service
Chat
{
...
...
src/proto/friend/friend.pb.go
浏览文件 @
3f9c3704
此差异已折叠。
点击以展开。
src/proto/friend/friend.proto
浏览文件 @
3f9c3704
...
...
@@ -7,18 +7,18 @@ message CommonResp{
string
errorMsg
=
2
;
}
message
SearchFriend
Req
{
message
GetFriendsInfo
Req
{
string
uid
=
1
;
string
OperationID
=
2
;
string
Token
=
3
;
}
message
SearchFriend
Resp
{
message
GetFriendInfo
Resp
{
int32
errorCode
=
1
;
string
errorMsg
=
2
;
Search
FriendData
Data
=
3
;
Get
FriendData
Data
=
3
;
}
message
Search
FriendData
{
message
Get
FriendData
{
string
uid
=
1
;
string
icon
=
2
;
string
name
=
3
;
...
...
@@ -111,7 +111,16 @@ message GetBlacklistResp{
repeated
UserInfo
data
=
3
;
}
message
IsFriendReq
{
string
token
=
1
;
string
receiveUid
=
2
;
string
OperationID
=
3
;
}
message
IsFriendResp
{
int32
errorCode
=
1
;
string
errorMsg
=
2
;
int32
shipType
=
3
;
}
message
IsInBlackListReq
{
string
sendUid
=
1
;
string
receiveUid
=
2
;
...
...
@@ -130,7 +139,7 @@ message DeleteFriendReq{
}
message
Add
edFriend
Req
{
message
Add
FriendResponse
Req
{
string
uid
=
1
;
int32
flag
=
2
;
string
OperationID
=
3
;
...
...
@@ -145,15 +154,17 @@ message SetFriendCommentReq{
}
service
friend
{
rpc
searchFriend
(
SearchFriendReq
)
returns
(
SearchFriend
Resp
);
rpc
getFriendsInfo
(
GetFriendsInfoReq
)
returns
(
GetFriendInfo
Resp
);
rpc
addFriend
(
AddFriendReq
)
returns
(
CommonResp
);
rpc
getFriendApplyList
(
GetFriendApplyReq
)
returns
(
GetFriendApplyResp
);
rpc
getSelfApplyList
(
GetFriendApplyReq
)
returns
(
GetFriendApplyResp
);
rpc
getFriendList
(
getFriendListReq
)
returns
(
getFriendListResp
);
rpc
addBlacklist
(
AddBlacklistReq
)
returns
(
CommonResp
);
rpc
removeBlacklist
(
RemoveBlacklistReq
)
returns
(
CommonResp
);
rpc
isFriend
(
IsFriendReq
)
returns
(
IsFriendResp
);
rpc
isInBlackList
(
IsInBlackListReq
)
returns
(
IsInBlackListResp
);
rpc
getBlacklist
(
GetBlacklistReq
)
returns
(
GetBlacklistResp
);
rpc
deleteFriend
(
DeleteFriendReq
)
returns
(
CommonResp
);
rpc
add
edFriend
(
AddedFriend
Req
)
returns
(
CommonResp
);
rpc
add
FriendResponse
(
AddFriendResponse
Req
)
returns
(
CommonResp
);
rpc
setFriendComment
(
SetFriendCommentReq
)
returns
(
CommonResp
);
}
\ No newline at end of file
src/proto/group/group.pb.go
浏览文件 @
3f9c3704
此差异已折叠。
点击以展开。
src/proto/group/group.proto
浏览文件 @
3f9c3704
...
...
@@ -8,9 +8,18 @@ message CommonResp{
}
message
CreateGroupReq
{
repeated
string
userIDList
=
1
;
string
token
=
2
;
string
OperationID
=
3
;
repeated
GroupAddMemberInfo
memberList
=
1
;
string
groupName
=
2
;
string
introduction
=
3
;
string
notification
=
4
;
string
faceUrl
=
5
;
string
token
=
6
;
string
operationID
=
7
;
}
message
GroupAddMemberInfo
{
string
uid
=
1
;
int32
setRole
=
2
;
}
message
CreateGroupResp
{
int32
ErrorCode
=
1
;
...
...
@@ -18,61 +27,102 @@ message CreateGroupResp{
string
groupID
=
3
;
}
message
GetGroupListReq
{
string
token
=
1
;
string
OperationID
=
2
;
message
GetGroupsInfoReq
{
repeated
string
groupIDList
=
1
;
string
token
=
2
;
string
operationID
=
3
;
}
message
GetGroup
List
Resp
{
message
GetGroup
sInfo
Resp
{
int32
ErrorCode
=
1
;
string
ErrorMsg
=
2
;
repeated
string
groupList
=
3
;
repeated
GroupInfo
data
=
3
;
}
message
GetGroupInfoReq
{
message
SetGroupInfoReq
{
string
groupID
=
1
;
string
groupName
=
2
;
string
notification
=
3
;
string
introduction
=
4
;
string
faceUrl
=
5
;
string
token
=
6
;
string
operationID
=
7
;
}
message
GetGroupApplicationListReq
{
string
UID
=
1
;
string
OperationID
=
2
;
string
token
=
3
;
}
message
GetGroupInfoResp
{
int32
ErrorCode
=
1
;
string
ErrorMsg
=
2
;
string
groupID
=
3
;
string
groupName
=
4
;
string
groupHeadURL
=
5
;
string
bulletin
=
6
;
repeated
MemberList
groupMemberList
=
7
;
message
GetGroupApplicationList_Data_User
{
string
GroupID
=
1
;
string
FromUserID
=
2
;
string
FromUserNickName
=
3
;
string
FromUserFaceUrl
=
4
;
string
ToUserID
=
5
;
int64
AddTime
=
6
;
string
RequestMsg
=
7
;
string
HandledMsg
=
8
;
int32
Type
=
9
;
int32
HandleStatus
=
10
;
int32
HandleResult
=
11
;
}
message
MemberList
{
string
userID
=
1
;
string
nickName
=
2
;
int32
isAdmin
=
3
;
message
GetGroupApplicationListData
{
int32
Count
=
1
;
repeated
GetGroupApplicationList_Data_User
User
=
2
;
}
message
GetGroupApplicationListResp
{
int32
ErrCode
=
1
;
string
ErrMsg
=
2
;
GetGroupApplicationListData
Data
=
3
;
}
message
DeleteGroupMemberReq
{
string
g
roupID
=
1
;
string
token
=
2
;
string
OperationID
=
3
;
repeated
string
userIdList
=
4
;
message
TransferGroupOwnerReq
{
string
G
roupID
=
1
;
string
OldOwner
=
2
;
string
NewOwner
=
3
;
string
OperationID
=
4
;
}
message
TransferGroupOwnerResp
{
int32
ErrCode
=
1
;
string
ErrMsg
=
2
;
}
message
SetGroupName
Req
{
message
JoinGroup
Req
{
string
groupID
=
1
;
string
nam
e
=
2
;
string
messag
e
=
2
;
string
token
=
3
;
string
OperationID
=
4
;
}
message
GroupApplicationResponseReq
{
string
OperationID
=
1
;
string
OwnerID
=
2
;
string
GroupID
=
3
;
string
FromUserID
=
4
;
string
FromUserNickName
=
5
;
string
FromUserFaceUrl
=
6
;
string
ToUserID
=
7
;
string
ToUserNickName
=
8
;
string
ToUserFaceUrl
=
9
;
int64
AddTime
=
10
;
string
RequestMsg
=
11
;
string
HandledMsg
=
12
;
int32
Type
=
13
;
int32
HandleStatus
=
14
;
int32
HandleResult
=
15
;
}
message
SetGroupBulletinReq
{
string
groupID
=
1
;
string
bulletin
=
2
;
string
OperationID
=
3
;
string
token
=
4
;
message
GroupApplicationResponseResp
{
int32
ErrCode
=
1
;
string
ErrMsg
=
2
;
}
message
SetOwnerGroupNickNameReq
{
string
groupID
=
1
;
string
nickName
=
2
;
...
...
@@ -81,37 +131,153 @@ message SetOwnerGroupNickNameReq{
}
message
SetGroupHeadImage
Req
{
message
QuitGroup
Req
{
string
groupID
=
1
;
string
headUrl
=
2
;
string
OperationID
=
3
;
string
token
=
4
;
string
operationID
=
2
;
string
token
=
3
;
}
message
MemberExitGroupReq
{
message
GroupApplicationUserInfo
{
string
groupID
=
1
;
string
OperationID
=
2
;
string
uid
=
2
;
string
name
=
3
;
string
icon
=
4
;
string
reqMsg
=
5
;
int64
applicationTime
=
6
;
int32
flag
=
7
;
string
operatorID
=
8
;
string
handledMsg
=
9
;
}
message
GroupMemberFullInfo
{
string
userId
=
1
;
int32
role
=
2
;
uint64
joinTime
=
3
;
string
nickName
=
4
;
string
faceUrl
=
5
;
}
message
GetGroupMemberListReq
{
string
groupID
=
1
;
string
token
=
2
;
string
operationID
=
3
;
int32
filter
=
4
;
int32
nextSeq
=
5
;
}
message
GetGroupMemberListResp
{
int32
errorCode
=
1
;
string
errorMsg
=
2
;
repeated
GroupMemberFullInfo
memberList
=
3
;
int32
nextSeq
=
4
;
}
message
GetGroupMembersInfoReq
{
string
groupID
=
1
;
repeated
string
memberList
=
2
;
string
token
=
3
;
string
operationID
=
4
;
}
message
GetGroupMembersInfoResp
{
int32
errorCode
=
1
;
string
errorMsg
=
2
;
repeated
GroupMemberFullInfo
memberList
=
3
;
}
service
group
{
rpc
createGroup
(
CreateGroupReq
)
returns
(
CreateGroupResp
);
rpc
getGroupList
(
GetGroupListReq
)
returns
(
GetGroupListResp
);
rpc
getGroupInfo
(
GetGroupInfoReq
)
returns
(
GetGroupInfoResp
);
rpc
deleteGroupMember
(
DeleteGroupMemberReq
)
returns
(
CommonResp
);
rpc
setGroupName
(
SetGroupNameReq
)
returns
(
CommonResp
);
rpc
setGroupBulletin
(
SetGroupBulletinReq
)
returns
(
CommonResp
);
rpc
setOwnerGroupNickName
(
SetOwnerGroupNickNameReq
)
returns
(
CommonResp
);
rpc
setGroupHeadImage
(
SetGroupHeadImageReq
)
returns
(
CommonResp
);
rpc
memberExitGroup
(
MemberExitGroupReq
)
returns
(
CommonResp
);
message
KickGroupMemberReq
{
string
groupID
=
1
;
repeated
string
uidList
=
2
;
string
reason
=
3
;
string
token
=
4
;
string
operationID
=
5
;
}
message
Id2Result
{
string
uId
=
1
;
int32
result
=
2
;
//0 ok; -1 error
}
message
KickGroupMemberResp
{
int32
errorCode
=
1
;
string
errorMsg
=
2
;
repeated
Id2Result
id2result
=
3
;
}
message
getJoinedGroupListReq
{
string
token
=
1
;
string
operationID
=
2
;
}
message
GroupInfo
{
string
groupId
=
1
;
string
groupName
=
2
;
string
notification
=
3
;
string
introduction
=
4
;
string
faceUrl
=
5
;
uint64
createTime
=
6
;
string
ownerId
=
7
;
uint32
memberCount
=
8
;
}
message
getJoinedGroupListResp
{
int32
errorCode
=
1
;
string
errorMsg
=
2
;
repeated
GroupInfo
groupList
=
3
;
}
message
inviteUserToGroupReq
{
string
token
=
1
;
string
operationID
=
2
;
string
groupID
=
3
;
string
reason
=
4
;
repeated
string
uidList
=
5
;
}
message
inviteUserToGroupResp
{
int32
errorCode
=
1
;
string
errorMsg
=
2
;
repeated
Id2Result
id2result
=
3
;
// 0 ok, -1 error
}
message
GetGroupAllMemberReq
{
string
groupID
=
1
;
string
token
=
2
;
string
operationID
=
3
;
}
message
GetGroupAllMemberResp
{
int32
errorCode
=
1
;
string
errorMsg
=
2
;
repeated
GroupMemberFullInfo
memberList
=
3
;
}
service
group
{
rpc
createGroup
(
CreateGroupReq
)
returns
(
CreateGroupResp
);
rpc
joinGroup
(
JoinGroupReq
)
returns
(
CommonResp
);
rpc
quitGroup
(
QuitGroupReq
)
returns
(
CommonResp
);
rpc
getGroupsInfo
(
GetGroupsInfoReq
)
returns
(
GetGroupsInfoResp
);
rpc
setGroupInfo
(
SetGroupInfoReq
)
returns
(
CommonResp
);
rpc
getGroupApplicationList
(
GetGroupApplicationListReq
)
returns
(
GetGroupApplicationListResp
);
rpc
transferGroupOwner
(
TransferGroupOwnerReq
)
returns
(
TransferGroupOwnerResp
);
rpc
groupApplicationResponse
(
GroupApplicationResponseReq
)
returns
(
GroupApplicationResponseResp
);
// rpc setOwnerGroupNickName(SetOwnerGroupNickNameReq) returns(CommonResp);
rpc
getGroupMemberList
(
GetGroupMemberListReq
)
returns
(
GetGroupMemberListResp
);
rpc
getGroupMembersInfo
(
GetGroupMembersInfoReq
)
returns
(
GetGroupMembersInfoResp
);
rpc
kickGroupMember
(
KickGroupMemberReq
)
returns
(
KickGroupMemberResp
);
rpc
getJoinedGroupList
(
getJoinedGroupListReq
)
returns
(
getJoinedGroupListResp
);
rpc
inviteUserToGroup
(
inviteUserToGroupReq
)
returns
(
inviteUserToGroupResp
);
rpc
getGroupAllMember
(
GetGroupAllMemberReq
)
returns
(
GetGroupAllMemberResp
);
}
...
...
src/proto/push/push.pb.go
浏览文件 @
3f9c3704
...
...
@@ -211,7 +211,9 @@ func init() {
proto
.
RegisterType
((
*
PushMsgResp
)(
nil
),
"push.PushMsgResp"
)
}
func
init
()
{
proto
.
RegisterFile
(
"push/push.proto"
,
fileDescriptor_ae0042da44e9a7a7
)
}
func
init
()
{
proto
.
RegisterFile
(
"push/push.proto"
,
fileDescriptor_ae0042da44e9a7a7
)
}
var
fileDescriptor_ae0042da44e9a7a7
=
[]
byte
{
// 346 bytes of a gzipped FileDescriptorProto
...
...
@@ -241,11 +243,11 @@ var fileDescriptor_ae0042da44e9a7a7 = []byte{
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
grpc
.
ClientConn
var
_
grpc
.
ClientConn
Interface
// 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
.
SupportPackageIsVersion
4
const
_
=
grpc
.
SupportPackageIsVersion
6
// PushMsgServiceClient is the client API for PushMsgService service.
//
...
...
@@ -255,10 +257,10 @@ type PushMsgServiceClient interface {
}
type
pushMsgServiceClient
struct
{
cc
*
grpc
.
ClientConn
cc
grpc
.
ClientConnInterface
}
func
NewPushMsgServiceClient
(
cc
*
grpc
.
ClientConn
)
PushMsgServiceClient
{
func
NewPushMsgServiceClient
(
cc
grpc
.
ClientConnInterface
)
PushMsgServiceClient
{
return
&
pushMsgServiceClient
{
cc
}
}
...
...
src/proto/relay/relay.pb.go
浏览文件 @
3f9c3704
...
...
@@ -262,7 +262,9 @@ func init() {
proto
.
RegisterType
((
*
SingleMsgToUser
)(
nil
),
"relay.SingleMsgToUser"
)
}
func
init
()
{
proto
.
RegisterFile
(
"relay/relay.proto"
,
fileDescriptor_b6da3b5c0d1535b3
)
}
func
init
()
{
proto
.
RegisterFile
(
"relay/relay.proto"
,
fileDescriptor_b6da3b5c0d1535b3
)
}
var
fileDescriptor_b6da3b5c0d1535b3
=
[]
byte
{
// 381 bytes of a gzipped FileDescriptorProto
...
...
@@ -294,11 +296,11 @@ var fileDescriptor_b6da3b5c0d1535b3 = []byte{
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
grpc
.
ClientConn
var
_
grpc
.
ClientConn
Interface
// 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
.
SupportPackageIsVersion
4
const
_
=
grpc
.
SupportPackageIsVersion
6
// OnlineMessageRelayServiceClient is the client API for OnlineMessageRelayService service.
//
...
...
@@ -308,10 +310,10 @@ type OnlineMessageRelayServiceClient interface {
}
type
onlineMessageRelayServiceClient
struct
{
cc
*
grpc
.
ClientConn
cc
grpc
.
ClientConnInterface
}
func
NewOnlineMessageRelayServiceClient
(
cc
*
grpc
.
ClientConn
)
OnlineMessageRelayServiceClient
{
func
NewOnlineMessageRelayServiceClient
(
cc
grpc
.
ClientConnInterface
)
OnlineMessageRelayServiceClient
{
return
&
onlineMessageRelayServiceClient
{
cc
}
}
...
...
src/proto/user/user.pb.go
浏览文件 @
3f9c3704
...
...
@@ -435,7 +435,9 @@ func init() {
proto
.
RegisterType
((
*
UpdateUserInfoReq
)(
nil
),
"user.UpdateUserInfoReq"
)
}
func
init
()
{
proto
.
RegisterFile
(
"user/user.proto"
,
fileDescriptor_ed89022014131a74
)
}
func
init
()
{
proto
.
RegisterFile
(
"user/user.proto"
,
fileDescriptor_ed89022014131a74
)
}
var
fileDescriptor_ed89022014131a74
=
[]
byte
{
// 416 bytes of a gzipped FileDescriptorProto
...
...
@@ -469,11 +471,11 @@ var fileDescriptor_ed89022014131a74 = []byte{
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
grpc
.
ClientConn
var
_
grpc
.
ClientConn
Interface
// 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
.
SupportPackageIsVersion
4
const
_
=
grpc
.
SupportPackageIsVersion
6
// UserClient is the client API for User service.
//
...
...
@@ -484,10 +486,10 @@ type UserClient interface {
}
type
userClient
struct
{
cc
*
grpc
.
ClientConn
cc
grpc
.
ClientConnInterface
}
func
NewUserClient
(
cc
*
grpc
.
ClientConn
)
UserClient
{
func
NewUserClient
(
cc
grpc
.
ClientConnInterface
)
UserClient
{
return
&
userClient
{
cc
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录