build pb shell

This commit is contained in:
2026-09-22 22:25:39 +08:00
parent fcd795673d
commit b8ff9acc3d
45 changed files with 5277 additions and 3986 deletions

View File

@@ -25,7 +25,7 @@ func New(grpcServ *grpc.Server) *Server {
srv := &Server{
Ctx: context.Background(),
Grpc: grpcServ,
Grpc: grpc.NewServer(),
grpcConns: make(map[string]*grpc.ClientConn),
}
@@ -36,6 +36,8 @@ func New(grpcServ *grpc.Server) *Server {
pb.RegisterRegisterServer(srv.Grpc, NewRegisterServer())
pb.RegisterVerifyServer(srv.Grpc, NewVerifyServer())
reflection.Register(srv.Grpc)
if standalone {
reflection.Register(srv.Grpc)
}