event listeners working

This commit is contained in:
Sam Lewis
2022-10-19 00:25:15 -04:00
parent ccd6805d40
commit 83789184f0
8 changed files with 278 additions and 60 deletions

View File

@@ -23,7 +23,6 @@ func ListenWebsocket(conn *websocket.Conn, ctx context.Context, c chan ChanMsg)
bytes, _ := ReadMessage(conn, ctx)
base := BaseMessage{}
json.Unmarshal(bytes, &base)
chanMsg := ChanMsg{
Type: base.Type,
Id: base.Id,