doc: update comments

This commit is contained in:
Sebastian Mark 2024-10-21 09:37:07 +02:00
parent 03ab627729
commit 28342058aa
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import (
"time"
)
// BroadcastMessage sends a message to all connected WebSocket clients.
// sends continous messages to all connected WebSocket clients.
func SendPermanentBroadCastMessage() {
for {
// Marshal the message into JSON format

View file

@ -10,7 +10,7 @@ import (
var unsetPomodoroConfig models.GoTomatoPomodoroConfig // used to check if client passed a config json
// handleClientCommands listens for commands from WebSocket clients and dispatches to the timer.
// handleClientCommands listens for commands from WebSocket clients
func handleClientCommands(ws *websocket.Conn) {
for {
var clientCommand models.ClientCommand