add parameter haschild
This commit is contained in:
@@ -4,13 +4,14 @@ import "github.com/google/uuid"
|
|||||||
|
|
||||||
// Get model
|
// Get model
|
||||||
type Get struct {
|
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:"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
|
||||||
Rights Rights `json:"rights,omitempty"` // dbm read /write rights
|
HasChild bool `json:"hasChild,omitempty"` // inidicates path has child/ren
|
||||||
|
Rights Rights `json:"rights,omitempty"` // dbm read /write rights
|
||||||
}
|
}
|
||||||
|
|
||||||
// search dbm datapoints by path
|
// search dbm datapoints by path
|
||||||
|
Reference in New Issue
Block a user