refactor: websockets into 'connect' module, rename & adjust generally

This commit is contained in:
2025-08-01 20:34:45 -05:00
parent 102a4e7438
commit 9b8ef545a6
32 changed files with 202 additions and 149 deletions

View File

@@ -1,13 +1,13 @@
package services
import (
ws "github.com/Xevion/go-ha/internal/websocket"
ws "github.com/Xevion/go-ha/internal/connect"
)
/* Structs */
type Script struct {
conn *ws.WebsocketWriter
conn *ws.HAConnection
}
/* Public API */