The highest tagged major version is
v3.
package
Version:
v1.7.18
Opens a new window with list of versions in this module.
Published: Aug 31, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Useage struct {
Total uint64 `json:"total"`
Idle uint64 `json:"idle"`
UsedPercent float64 `json:"percent"`
}
Useage Total总量,Idle空闲,Used使用率,Collercter总量,使用量
func GetInfo() (useage Useage)
GetInfo 获取磁盘使用信息
Source Files
¶
Click to show internal directories.
Click to hide internal directories.