Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Version string
)
Functions ¶
func InitLogger ¶
Types ¶
type DebugInfo ¶
type DebugInfo struct {
ServerVersion string `json:"version"`
DatabaseOnline bool `json:"databaseOnline"`
DatabaseStats database.DBStatus `json:"databaseStats"`
CpuCores uint8 `json:"cpuCores"`
Goroutines uint16 `json:"goroutines"`
GoVersion string `json:"goVersion"`
MemoryUsage uint16 `json:"memoryUsage"`
PowerJobCount uint16 `json:"powerJobCount"`
PowerJobWithErrorCount uint16 `json:"lastPowerJobErrorCount"`
PowerJobs []hardware.PowerJob `json:"powerJobs"`
PowerJobResults []hardware.JobResult `json:"powerJobResults"`
HardwareNodesCount uint8 `json:"hardwareNodesCount"`
HardwareNodesOnline uint8 `json:"hardwareNodesOnline"`
HardwareNodesEnabled uint8 `json:"hardwareNodesEnabled"`
Nodes []database.HardwareNode `json:"hardwareNodes"`
}
Click to show internal directories.
Click to hide internal directories.