diff --git a/internal/websocket/send.go b/internal/websocket/send.go index 650e24a..2d891ba 100644 --- a/internal/websocket/send.go +++ b/internal/websocket/send.go @@ -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) diff --git a/pkg/models/client.go b/pkg/models/client.go index cefc095..9cf8436 100644 --- a/pkg/models/client.go +++ b/pkg/models/client.go @@ -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 }