🎨 update code structure
This commit is contained in:
@@ -12,6 +12,9 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type WebsocketController struct {
|
||||
}
|
||||
|
||||
const (
|
||||
PingInterval = 5 * time.Second // 客户端心跳间隔
|
||||
HeartbeatWaitTimeout = 10 * time.Second // 心跳等待超时时间
|
||||
|
@@ -1,4 +0,0 @@
|
||||
package websocket_controller
|
||||
|
||||
type WebsocketController struct {
|
||||
}
|
Reference in New Issue
Block a user