Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardParams ¶
type DashboardParams struct {
Path string `json:"path"`
}
type Memory ¶
type Memory struct { Total uint64 `json:"total"` Free uint64 `json:"free"` Used uint64 `json:"used"` Cached uint64 `json:"cached"` }
Memory in kibibyte
type PartitionStat ¶
type Response ¶
type Response struct { Message string `json:"message"` Data interface{} `json:"data"` }
Response is a struct that contains the response from the server.
type UsageStat ¶
type UsageStat struct { Path string `json:"path"` Fstype string `json:"fstype"` Total uint64 `json:"total"` Free uint64 `json:"free"` Used uint64 `json:"used"` UsedPercent float64 `json:"usedPercent"` InodesTotal uint64 `json:"inodesTotal"` InodesUsed uint64 `json:"inodesUsed"` InodesFree uint64 `json:"inodesFree"` InodesUsedPercent float64 `json:"inodesUsedPercent"` }
Click to show internal directories.
Click to hide internal directories.