feat 排队

This commit is contained in:
2026-01-06 18:36:15 +08:00
parent 8289e2b4d9
commit 46839cd11b
20 changed files with 482 additions and 96 deletions

View File

@@ -4,7 +4,7 @@ import (
"common/discover/common"
"common/net/grpc/service"
"common/proto/ss/grpc_pb"
"gateway/internal/handler/ws_handler"
"gateway/internal/handler/ws_handler/client"
"google.golang.org/grpc"
)
@@ -26,7 +26,7 @@ func NewServer(ttl int64) *Server {
}
func (s *Server) OnInit(serve *grpc.Server) {
ws_handler.GatewaySID = s.SID
client.GatewaySID = s.SID
grpc_pb.RegisterGatewayServer(serve, s)
}