fix: system_data als RawJSON durchreichen — Windows-Daten nicht mehr weggeworfen

This commit is contained in:
cynfo3000
2026-03-10 01:56:09 +01:00
parent e94fea3e91
commit 0e6154a0dd
3 changed files with 14 additions and 6 deletions
+4
View File
@@ -31,6 +31,10 @@ type SystemData struct {
PFStates *PFStatesInfo `json:"pf_states,omitempty"`
HAProxy *HAProxyData `json:"haproxy,omitempty"`
Caddy *CaddyData `json:"caddy,omitempty"`
// Plattform-spezifische Rohdaten (Windows, Linux, etc.)
Windows json.RawMessage `json:"windows,omitempty"`
// RawJSON: vollstaendige Rohdaten aus DB (wird im API-Response verwendet)
RawJSON json.RawMessage `json:"-"`
}
type LicenseInfo struct {