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