Formatting.

This commit is contained in:
2025-10-14 07:13:00 +00:00
parent afb0e09aae
commit 2fd71c32dc
6 changed files with 35 additions and 36 deletions

View File

@@ -89,11 +89,11 @@ func (g *ConfigGenerator) RestartService() error {
// ServiceStatus represents the status of the dnsmasq service
type ServiceStatus struct {
Status string `json:"status"`
PID int `json:"pid"`
ConfigFile string `json:"config_file"`
InstancesConfigured int `json:"instances_configured"`
LastRestart time.Time `json:"last_restart"`
Status string `json:"status"`
PID int `json:"pid"`
ConfigFile string `json:"config_file"`
InstancesConfigured int `json:"instances_configured"`
LastRestart time.Time `json:"last_restart"`
}
// GetStatus checks the status of the dnsmasq service