modify websocketserver to broker with callback functions

This commit is contained in:
Adrian Zürcher
2025-06-19 19:22:23 +02:00
parent 9605b50198
commit 659cbe4072
19 changed files with 367 additions and 266 deletions

View File

@@ -1,6 +1,8 @@
package models
type Subscriptions map[string]*Subscription
import wsModels "github.com/tecamino/tecamino-dbm/websocket/models"
type Subscriptions map[*wsModels.Client]*Subscription
type Subscription struct {
OnCreate bool