Files
tecamino-json_data/jsonResponse.go
Adrian Zürcher 85bd8de2a2 add files
2025-04-25 18:56:27 +02:00

14 lines
503 B
Go

package models
type JsonResponse struct {
Error *bool `json:"error,omitempty"`
Message string `json:"message,omitempty"`
Data string `json:"data,omitempty"`
Event string `json:"event,omitempty"`
Path string `json:"path,omitempty"`
Value any `json:"value,omitempty"`
Set *[]Set `json:"set,omitempty"`
Subscribe *[]Subscribe `json:"subscribe,omitempty"`
Unubscribe *[]Subscribe `json:"unsubscribe,omitempty"`
}