1// +build openbsd 2 3package hostutil 4 5import ( 6 "fmt" 7 "time" 8) 9 10type HostInfo struct { 11 Timestamp time.Time `json:"timestamp"` 12 CPU []interface{} `json:"cpu"` 13 CPUTimes []interface{} `json:"cpu_times"` 14 Disk []interface{} `json:"disk"` 15 Host interface{} `json:"host"` 16 Memory interface{} `json:"memory"` 17} 18 19func CollectHostInfo() (*HostInfo, error) { 20 return nil, fmt.Errorf("host info not supported on this platform") 21} 22