(path string)
| 121 | } |
| 122 | |
| 123 | func updateClientsCount(path string) { |
| 124 | clientsCount, err := json.Marshal(fiber.Map{ |
| 125 | "type": "editor-update-usercount", |
| 126 | "count": utils.GetClientsCount(path), |
| 127 | }) |
| 128 | |
| 129 | if err == nil { |
| 130 | utils.SendToAll(path, 1, clientsCount) |
| 131 | } |
| 132 | } |
no test coverage detected