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