fix: rename model PomodoroClient to GoTomatoClient

This commit is contained in:
Sebastian Mark 2024-10-30 09:03:14 +01:00
parent b374ee8aff
commit b06fac60d5
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ import (
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
)
type Client ChronoTomato.PomodoroClient // New websocket client
type Client ChronoTomato.GoTomatoClient // New websocket client
func (c Client) sendClientCommand(msg GoTomato.ClientCommand) {
messageBytes, err := json.Marshal(msg)

View file

@ -3,7 +3,7 @@ package models
import "github.com/gorilla/websocket"
// Represents a websocket client
type PomodoroClient struct {
type GoTomatoClient struct {
Conn *websocket.Conn // The websocket connection of the client
Password string // Pomodoro password
}