package protocol const GetStatus = "get_status" const Status = "status" type NetworkAddress struct { Interface string `json:"interface"` IP string `json:"ip"` } type ServiceStatus struct { Health string `json:"health"` URL string `json:"url,omitempty"` Port string `json:"port,omitempty"` Candidates []string `json:"candidate_urls,omitempty"` } type SystemStatus struct { Hostname string `json:"hostname"` StartedAt string `json:"started_at"` Uptime string `json:"uptime"` Addresses []NetworkAddress `json:"addresses"` Server ServiceStatus `json:"server"` Ntfy ServiceStatus `json:"ntfy"` Topic string `json:"topic,omitempty"` NtfyUser string `json:"ntfy_user,omitempty"` Note string `json:"note"` }