Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
im-microservice
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Li Feifei
im-microservice
Commits
4263f976
Commit
4263f976
authored
Jul 07, 2020
by
李洪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dssd
parent
f0deae1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Registration_services.go
initialization/Registration_services.go
+3
-3
No files found.
initialization/Registration_services.go
View file @
4263f976
...
...
@@ -8,7 +8,7 @@ import (
"im-microservice/sevice/health"
"im-microservice/sevice/im_chat_room"
//
"im-microservice/sevice/im_chat_room_user"
"im-microservice/sevice/im_chat_room_user"
ic
"im-microservice/sevice/im_configure"
"im-microservice/sevice/im_friend_request"
...
...
@@ -46,7 +46,7 @@ func init() {
grpc
.
UnaryInterceptor
(
grpc_middleware
.
ChainUnaryServer
(
middleware
.
Interceptor
,
grpc_validator
.
UnaryServerInterceptor
(),
middleware
.
Auth
,
//
middleware.Auth,
grpc_recovery
.
UnaryServerInterceptor
(
middleware
.
RecoveryInterceptor
()),
grpc_zap
.
UnaryServerInterceptor
(
middleware
.
ZapInterceptor
()),
)))
...
...
@@ -57,7 +57,7 @@ func init() {
pb
.
RegisterImUserServer
(
rpc_server
,
&
im_user
.
ImUserServer
{})
pb
.
RegisterUserRelationshipServiceServer
(
rpc_server
,
&
iur
.
UserRelationshipService
{})
pb
.
RegisterImFriendServiceServer
(
rpc_server
,
&
im_friend_request
.
ImFriendService
{})
//
pb.RegisterChatRoomUserServer(rpc_server, &im_chat_room_user.ChatRoomUserServer{})
pb
.
RegisterChatRoomUserServer
(
rpc_server
,
&
im_chat_room_user
.
ChatRoomUserServer
{})
reflection
.
Register
(
rpc_server
)
RpcServer
=
rpc_server
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment