add create and has child parameter
This commit is contained in:
@@ -8,6 +8,7 @@ type Subscription struct {
|
||||
Path string `json:"path,omitempty"` // dbm path
|
||||
Depth uint `json:"depth,omitempty"` // depth of subscriptions from found path or uuid
|
||||
Value any `json:"value,omitempty"` // current value
|
||||
HasChild bool `json:"hasChild,omitempty"` // inidicates path has child/ren
|
||||
Drivers *Drivers `json:"drivers,omitempty"` // assigned drivers
|
||||
Driver string `json:"driver,omitempty"` // driver type to assign this subscription
|
||||
OnCreate bool `json:"onCreate,omitempty"` // notify at datapoint creation
|
||||
|
Reference in New Issue
Block a user