mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 05:46:36 +08:00
06d5fedbfc
Keep only plugin entry, httpapi, migrate and updater at the server root. Shared model/repository/adapters live in kernel/; product bounded contexts live in domain/.
15 lines
309 B
Go
15 lines
309 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package websocket
|
|
|
|
import "time"
|
|
|
|
const (
|
|
wsChannelBuf = 16
|
|
wsPingInterval = 30 * time.Second
|
|
wsReadDeadline = 90 * time.Second
|
|
wsWriteDeadline = 10 * time.Second
|
|
minAgentWSReadTimeout = 30 * time.Second
|
|
)
|