From b60f5e51b6292b883006d8b65aaf85f070f1f94d Mon Sep 17 00:00:00 2001 From: "kayos@tcp.direct" Date: Thu, 4 May 2023 23:43:10 -0700 Subject: [PATCH] Chore: placeholder so things compile --- pkg/ws/server.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/ws/server.go b/pkg/ws/server.go index 16cdc64..9f24f6d 100644 --- a/pkg/ws/server.go +++ b/pkg/ws/server.go @@ -67,6 +67,8 @@ func wsHandler(wsc *websocket.Conn) { } defer closer(wsc) for { - + wb([]byte{byte(5) & 0xFF, byte(0) & 0xFF, byte(0) & 0xFF, byte(0) & 0xFF, byte(0) & 0xFF}) + time.Sleep(time.Duration(1) * time.Second) + ws([]byte("i am a placeholder")) } }