package
Version:
v0.0.0-...-c78aa6d
Opens a new window with list of versions in this module.
Published: Jan 22, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Disk struct {
Name string `json:"name"`
Path string `json:"path"`
Vendor string `json:"manufacture"`
Model string `json:"model"`
SerialNumber string `json:"serialNumber"`
Size string `json:"capacity"`
Partitions []*Partition `json:"partitions"`
}
type DiskData struct {
Disks []*Disk `json:"disks"`
}
type Partition struct {
Type string `json:"fileSystem"`
MountPoint string `json:"path"`
Size string `json:"capacity"`
SizeUsed string `json:"usedSpace"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.