modify websocketserver to broker with callback functions
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user