```
fix(network): 修复 rpc 和 websocket 地址拼接缺少冒号的问题 修复了 jsonrpc 服务启动时监听地址缺少冒号导致解析错误的问题, 同时修正 websocket 客户端连接地址的拼接逻辑。此外,注释掉了一处日志输出, 并调整了端口检测函数的参数类型以匹配实际配置结构。 ```
This commit is contained in:
@@ -59,7 +59,7 @@ func (s *Server) OnTick() (delay time.Duration, action gnet.Action) {
|
||||
func (s *Server) OnBoot(eng gnet.Engine) gnet.Action {
|
||||
s.eng = eng
|
||||
|
||||
cool.Loger.Infof(context.Background(), " server is listening on %s\n", s.addr)
|
||||
// cool.Loger.Infof(context.Background(), " server is listening on %s\n", s.addr)
|
||||
|
||||
return gnet.None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user