fix ads,passport
This commit is contained in:
@@ -25,13 +25,15 @@ func New(grpcServ *grpc.Server) *Server {
|
||||
|
||||
srv := &Server{
|
||||
Ctx: context.Background(),
|
||||
Grpc: grpcServ,
|
||||
Grpc: grpc.NewServer(),
|
||||
grpcConns: make(map[string]*grpc.ClientConn),
|
||||
}
|
||||
|
||||
// register service to grpc.Server
|
||||
pb.RegisterFetchServer(srv.Grpc, NewFetchServer())
|
||||
|
||||
reflection.Register(srv.Grpc)
|
||||
|
||||
if standalone {
|
||||
reflection.Register(srv.Grpc)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user