add files
This commit is contained in:
11
publish.go
Normal file
11
publish.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package models
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type Publish struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
Uuid uuid.UUID `json:"uuid,omitempty"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Value any `json:"value,omitempty"`
|
||||
Driver *Driver `json:"driver,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user