major change of websocket dbmHandler structure
This commit is contained in:
10
models/subscribe.go
Normal file
10
models/subscribe.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
type Subscribe struct {
|
||||
Path string `json:"path"`
|
||||
Depth int `json:"depth"`
|
||||
Driver *string `json:"driver,omitempty"`
|
||||
OnCreate bool `json:"onCreate"`
|
||||
OnDelete bool `json:"onDelete"`
|
||||
OnChange bool `json:"onChange"`
|
||||
}
|
Reference in New Issue
Block a user