mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 05:15:15 -06:00
17 lines
203 B
Go
17 lines
203 B
Go
package websocket
|
|
|
|
import (
|
|
"context"
|
|
|
|
"nhooyr.io/websocket"
|
|
)
|
|
|
|
type BaseMessage struct {
|
|
MsgType string `json:"type"`
|
|
Other any
|
|
}
|
|
|
|
func ReadWebsocket(ws *websocket.Conn, ctx context.Context) {
|
|
|
|
}
|