mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 02:09:28 +08:00
change hub file structure
This commit is contained in:
9
internal/entities/container/stats.go
Normal file
9
internal/entities/container/stats.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package container
|
||||
|
||||
type ContainerStats struct {
|
||||
Name string `json:"n"`
|
||||
Cpu float64 `json:"c"`
|
||||
Mem float64 `json:"m"`
|
||||
NetworkSent float64 `json:"ns"`
|
||||
NetworkRecv float64 `json:"nr"`
|
||||
}
|
Reference in New Issue
Block a user