doc: add and improve comments

This commit is contained in:
Sebastian Mark 2024-10-30 07:37:14 +01:00
parent d83acc77b2
commit d0b1260f62
12 changed files with 50 additions and 26 deletions

View file

@ -10,7 +10,7 @@ import (
"git.smsvc.net/pomodoro/GoTomato/pkg/models"
)
// handleClientCommands listens for commands from WebSocket clients
// Listens for commands from a client and handles them
func handleClientCommands(ws *websocket.Conn) {
for {
var clientCommand models.ClientCommand