Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83bf855485 | ||
|
|
9d4d417856 |
@@ -7,7 +7,7 @@ type Get struct {
|
|||||||
Uuid uuid.UUID `json:"uuid"` // universally unique identifier
|
Uuid uuid.UUID `json:"uuid"` // universally unique identifier
|
||||||
Path string `json:"path"` // dbm path
|
Path string `json:"path"` // dbm path
|
||||||
Query *Query `json:"query,omitempty"` // query paramater
|
Query *Query `json:"query,omitempty"` // query paramater
|
||||||
Drivers *Drivers `json:"driver,omitempty"` // assigned drivers
|
Drivers *Drivers `json:"drivers,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
|
HasChild bool `json:"hasChild,omitempty"` // inidicates path has child/ren
|
||||||
|
|||||||
@@ -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