add files

This commit is contained in:
Adrian Zürcher
2025-04-25 18:56:27 +02:00
parent 2b5a5a7905
commit 85bd8de2a2
14 changed files with 667 additions and 0 deletions

11
publish.go Normal file
View 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"`
}