Files
crawlab/backend/model/system.go
Marvin Zhang 9f5664084a added sysinfo
2019-07-22 13:33:09 +08:00

16 lines
398 B
Go

package model
type SystemInfo struct {
ARCH string `json:"arch"`
OS string `json:"os"`
Hostname string `json:"host_name"`
NumCpu int `json:"num_cpu"`
Executables []Executable `json:"executables"`
}
type Executable struct {
Path string `json:"path"`
FileName string `json:"file_name"`
DisplayName string `json:"display_name"`
}