重命名客户端相关术语为节点;移动 utils 包到根路径;优化网关对节点各种连接状态的处理,并在节点断联后统一清理资源
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"log/slog"
|
||||
"proxy-server/gateway/core"
|
||||
"proxy-server/pkg/utils"
|
||||
"proxy-server/utils"
|
||||
"sync"
|
||||
)
|
||||
|
||||
@@ -29,7 +29,7 @@ func New() *Service {
|
||||
}
|
||||
|
||||
func (s *Service) Run() error {
|
||||
slog.Debug("启动转发服务")
|
||||
slog.Info("启动转发服务")
|
||||
|
||||
errQuit := make(chan struct{}, 2)
|
||||
defer close(errQuit)
|
||||
|
||||
Reference in New Issue
Block a user