Documentation
¶
Overview ¶
Package types contains shared types to avoid import cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailDTO ¶
type DetailDTO struct {
Name string `json:"name"`
Port string `json:"port"`
Driver string `json:"driver"`
Status string `json:"status"`
IsDefault bool `json:"is_default"`
IsVirtual bool `json:"is_virtual"`
PrinterType string `json:"printer_type"`
}
DetailDTO PrinterDetailDTO is the JSON response format for printer details
type Summary ¶
type Summary struct {
Status string `json:"status"` // "ok", "warning", "error"
DetectedCount int `json:"detected_count"`
ThermalCount int `json:"thermal_count"`
DefaultName string `json:"default_name,omitempty"`
}
Summary PrinterSummary provides lightweight overview for health checks
Click to show internal directories.
Click to hide internal directories.