Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d4d417856 | ||
|
|
0446a160e1 |
@@ -10,6 +10,7 @@ type Get struct {
|
|||||||
Drivers *Drivers `json:"driver,omitempty"` // assigned drivers
|
Drivers *Drivers `json:"driver,omitempty"` // assigned drivers
|
||||||
Type Type `json:"type,omitempty"` // dbm datatype
|
Type Type `json:"type,omitempty"` // dbm datatype
|
||||||
Value any `json:"value,omitempty"` // dbm value
|
Value any `json:"value,omitempty"` // dbm value
|
||||||
|
HasChild bool `json:"hasChild,omitempty"` // inidicates path has child/ren
|
||||||
Rights Rights `json:"rights,omitempty"` // dbm read /write rights
|
Rights Rights `json:"rights,omitempty"` // dbm read /write rights
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ func (r *Response) AddUnsubscription(sub Subscription) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add new data publish to response
|
// Add new data publish to response
|
||||||
func (r *Response) AddUPublish(pub Publish) {
|
func (r *Response) AddPublish(pub Publish) {
|
||||||
r.Publish = append(r.Publish, pub)
|
r.Publish = append(r.Publish, pub)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user