From 89352c3950f7b72812d1d96be5931dc8420767f4 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 21 Mar 2026 16:06:11 +0100 Subject: tools: websocket: Add dummy and build integration Adding support for Shelly devices requires usage of the Websocket API. To make development easier a debug tool is created. Since it is not relevant for users it is not an artefact included into the deploy file archive. This also avoids later removing it which is by definition of the public API (see README.md) a breaking change. --- tools/websocket.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tools/websocket.go (limited to 'tools/websocket.go') diff --git a/tools/websocket.go b/tools/websocket.go new file mode 100644 index 0000000..e429a6d --- /dev/null +++ b/tools/websocket.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Websockets are cool.") +} -- cgit v1.3