chore: adjust system info discovery methods

This commit is contained in:
braginini
2021-08-27 11:34:38 +02:00
parent 3c4b0b3a4b
commit 5c7260298f
9 changed files with 207 additions and 7 deletions

14
client/system/info.go Normal file
View File

@@ -0,0 +1,14 @@
package system
//Info is an object that contains machine information
// Most of the code is taken from https://github.com/matishsiao/goInfo
type Info struct {
GoOS string
Kernel string
Core string
Platform string
OS string
OSVersion string
Hostname string
CPUs int
}