mirror of
https://github.com/komari-monitor/komari.git
synced 2026-11-22 16:00:46 +00:00
修改 客户端基本属性逻辑。 修改 最新上报key改为uuid 新增 客户端命名 新增 历史记录数据库压缩。 新增 在线节点信息。 新增 公开API /api/nodes 显示客户端基础属性
13 lines
246 B
Go
13 lines
246 B
Go
package ws
|
|
|
|
import (
|
|
"github.com/akizon77/komari/common"
|
|
"github.com/gorilla/websocket"
|
|
)
|
|
|
|
var (
|
|
ConnectedClients = make(map[string]*websocket.Conn)
|
|
ConnectedUsers = []*websocket.Conn{}
|
|
LatestReport = make(map[string]*common.Report)
|
|
)
|