Code Review
/
ric-app
/
rc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
changed package name
[ric-app/rc.git]
/
control
/
grpcserver.go
diff --git
a/control/grpcserver.go
b/control/grpcserver.go
index
009b83d
..
8410f3e
100644
(file)
--- a/
control/grpcserver.go
+++ b/
control/grpcserver.go
@@
-6,6
+6,7
@@
import (
"google.golang.org/grpc"
"google.golang.org/grpc/health"
"google.golang.org/grpc/health/grpc_health_v1"
"google.golang.org/grpc"
"google.golang.org/grpc/health"
"google.golang.org/grpc/health/grpc_health_v1"
+ "google.golang.org/grpc/reflection"
"net"
)
"net"
)
@@
-39,6
+40,7
@@
func StartgRPCRCControlCommServerRoutine() error {
// attach the Ping service to the server
rc.RegisterMsgCommServer(lgRPCServer, &lRCControlSrv)
// attach the Ping service to the server
rc.RegisterMsgCommServer(lgRPCServer, &lRCControlSrv)
+ reflection.Register(lgRPCServer)
//Register to health service
grpc_health_v1.RegisterHealthServer(lgRPCServer, health.NewServer())
//Register to health service
grpc_health_v1.RegisterHealthServer(lgRPCServer, health.NewServer())