Add go sdk
This commit is contained in:
15
performancemetrics/model.go
Normal file
15
performancemetrics/model.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package performancemetrics
|
||||
|
||||
type PerformanceMetrics struct {
|
||||
Uptime int64
|
||||
CpuUsage float64
|
||||
AllocatedMemory uint64
|
||||
GoroutineCount int
|
||||
DiskUsage DiskUsage
|
||||
}
|
||||
|
||||
type DiskUsage struct {
|
||||
Used uint64
|
||||
Free uint64
|
||||
Total uint64
|
||||
}
|
||||
Reference in New Issue
Block a user