2024-10-30 08:54:58 +01:00
|
|
|
package models
|
|
|
|
|
|
|
|
import "github.com/gorilla/websocket"
|
|
|
|
|
2024-10-30 11:03:18 +01:00
|
|
|
// Represents a GoTomato client
|
2024-10-30 09:03:14 +01:00
|
|
|
type GoTomatoClient struct {
|
2024-11-06 09:03:25 +01:00
|
|
|
Server string // The GoTomato server
|
2024-10-30 09:00:29 +01:00
|
|
|
Password string // Pomodoro password
|
2024-11-06 09:03:25 +01:00
|
|
|
Conn *websocket.Conn // The websocket connection of the client
|
|
|
|
LastErr error // Last client error
|
2024-10-30 08:54:58 +01:00
|
|
|
}
|