0b80fa53cf
- implement getSystemInfo to gather CPU and memory usage - add platform-specific implementations for memory and CPU usage - enhance OpenAPI documentation to include system resource metrics
12 lines
156 B
Go
12 lines
156 B
Go
//go:build !linux && !darwin && !windows
|
|
|
|
package api
|
|
|
|
func getMemoryInfo() (total, used uint64) {
|
|
return 0, 0
|
|
}
|
|
|
|
func getCPUUsage() float64 {
|
|
return 0
|
|
}
|