mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 07:15:09 -06:00
schedule works! 🎉🔥
This commit is contained in:
16
internal/websocket/reader.go
Normal file
16
internal/websocket/reader.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package websocket
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"nhooyr.io/websocket"
|
||||
)
|
||||
|
||||
type BaseMessage struct {
|
||||
MsgType string `json:"type"`
|
||||
Other any
|
||||
}
|
||||
|
||||
func ReadWebsocket(ws *websocket.Conn, ctx context.Context) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user