Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f22443b93 | ||
|
|
0d3161337f |
@@ -1,6 +1,6 @@
|
||||
package models
|
||||
|
||||
type Query struct {
|
||||
Depth int `json:"depth,omitempty"`
|
||||
Depth uint `json:"depth,omitempty"`
|
||||
RegExp string `json:"regExp,omitempty"`
|
||||
}
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
package models
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type Subscribe struct {
|
||||
Path string `json:"path"`
|
||||
Uuid uuid.UUID `json:"uuid,omitempty"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Depth uint `json:"depth,omitempty"`
|
||||
Drivers *Drivers `json:"drivers,omitempty"`
|
||||
Driver string `json:"driver,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user