major change of websocket dbmHandler structure

This commit is contained in:
Adrian Zürcher
2025-04-23 21:53:01 +02:00
parent a1f947e24a
commit 0a137c9d86
35 changed files with 1676 additions and 424 deletions

10
models/jsonResponse.go Normal file
View File

@@ -0,0 +1,10 @@
package models
type JsonResponse struct {
Error *bool `json:"error,omitempty"`
Message string `json:"message,omitempty"`
Data string `json:"data,omitempty"`
Event string `json:"event,omitempty"`
Path string `json:"path,omitempty"`
Value any `json:"value,omitempty"`
}