[优化] 提升WS连接稳定性

This commit is contained in:
ryan
2026-06-01 16:01:58 +08:00
parent 76f3428f5d
commit 31d10195ca
3 changed files with 13 additions and 3 deletions
+4
View File
@@ -1,5 +1,9 @@
package service
const (
RelayWSConnectedLastSeenValue = "__OPENFLARE_WS_CONNECTED__"
)
var DefaultRelayWSHub = NewWSHub("relay")
func RegisterRelayWSClient(nodeID string) *WSClient {