fix ads,passport

This commit is contained in:
2026-09-23 00:13:03 +08:00
parent b8ff9acc3d
commit 80b6c140fe
14 changed files with 575 additions and 3755 deletions

View File

@@ -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)
}