Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmpty = errors.New("smartctl returned an empty response")
ErrEmpty is return when smatctl doesn't find any device
Functions ¶
This section is empty.
Types ¶
type Device ¶
Device represents a device as returned by "smartctl --scan"
func ListDevices ¶
ListDevices return a list of device present on the local system
type Info ¶
Info contains information about a device as returned by "smartctl -i {path} -d {type}"
func DeviceInfo ¶
DeviceInfo info return the information from a specific device
Click to show internal directories.
Click to hide internal directories.