ChronoTomato/internal/websocket
Sebastian Mark 9c4d43a4d3 feat: reconnect on disconnect (status in TUI)
- add `Connected()` method for client
- add `LastErr` field to GoTomatoClient
  - replace error logging by updating `LastErr` field
  - modify methods to use pointer receivers for Client
- add `prevMessage` variable to store the last received server message
- show connect status in TUI
- use EnterAltScreen instead of ClearScreen
2024-11-07 20:13:25 +01:00
..
connect.go feat: reconnect on disconnect (status in TUI) 2024-11-07 20:13:25 +01:00
receive.go feat: reconnect on disconnect (status in TUI) 2024-11-07 20:13:25 +01:00
send.go feat: reconnect on disconnect (status in TUI) 2024-11-07 20:13:25 +01:00