You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
578 B
20 lines
578 B
4 years ago
|
package models
|
||
|
|
||
|
type Scan struct {
|
||
|
JSONFormatVersion []int `json:"json_format_version"`
|
||
|
Smartctl struct {
|
||
|
Version []int `json:"version"`
|
||
|
SvnRevision string `json:"svn_revision"`
|
||
|
PlatformInfo string `json:"platform_info"`
|
||
|
BuildInfo string `json:"build_info"`
|
||
|
Argv []string `json:"argv"`
|
||
|
ExitStatus int `json:"exit_status"`
|
||
|
} `json:"smartctl"`
|
||
|
Devices []struct {
|
||
|
Name string `json:"name"`
|
||
|
InfoName string `json:"info_name"`
|
||
|
Type string `json:"type"`
|
||
|
Protocol string `json:"protocol"`
|
||
|
} `json:"devices"`
|
||
|
}
|