🎨 update code structure

This commit is contained in:
landaiqing
2024-09-29 17:08:18 +08:00
parent 87f1ff6961
commit 4ec1ea40bb
23 changed files with 672 additions and 761 deletions

View File

@@ -12,6 +12,9 @@ import (
"time"
)
type WebsocketController struct {
}
const (
PingInterval = 5 * time.Second // 客户端心跳间隔
HeartbeatWaitTimeout = 10 * time.Second // 心跳等待超时时间

View File

@@ -1,4 +0,0 @@
package websocket_controller
type WebsocketController struct {
}