feat: rename Client model to WebsocketClient

🤖
This commit is contained in:
Sebastian Mark 2024-10-30 09:57:09 +01:00
parent 2d2ea6ff78
commit ebb58a4489
3 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ import (
)
// Listens for commands from a client and handles them
func handleClientCommands(c models.Client) {
func handleClientCommands(c models.WebsocketClient) {
ws := c.Conn
for {
var clientCommand models.ClientCommand