mirror of
https://github.com/Xevion/go-ha.git
synced 2026-01-31 04:24:27 -06:00
schedule works! 🎉🔥
This commit is contained in:
@@ -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