Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea4461fd7e | ||
|
|
0f22443b93 |
@@ -1,8 +1,12 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
|
import "github.com/google/uuid"
|
||||||
|
|
||||||
type Subscribe struct {
|
type Subscribe struct {
|
||||||
Path string `json:"path"`
|
Uuid uuid.UUID `json:"uuid,omitempty"`
|
||||||
|
Path string `json:"path,omitempty"`
|
||||||
Depth uint `json:"depth,omitempty"`
|
Depth uint `json:"depth,omitempty"`
|
||||||
|
Value any `json:"value,omitempty"`
|
||||||
Drivers *Drivers `json:"drivers,omitempty"`
|
Drivers *Drivers `json:"drivers,omitempty"`
|
||||||
Driver string `json:"driver,omitempty"`
|
Driver string `json:"driver,omitempty"`
|
||||||
OnCreate bool `json:"onCreate,omitempty"`
|
OnCreate bool `json:"onCreate,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user