Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Overview ¶ Package sysinfo provides global top-level variables about the running host machine. Index ¶ Variables type Card func (c Card) String() string type Processor Constants ¶ This section is empty. Variables ¶ View Source var ( Kernel string CPU Processor Cards []Card Distro string InFlatpak bool ) Functions ¶ This section is empty. Types ¶ type Card ¶ added in v1.5.8 type Card struct { Index int // Internal Kernel index Path string // Path to the drm card Device string // Path to the PCI device Driver string // Base driver name Embedded bool // Integrated display } Card is a representation of a system GPU func (Card) String ¶ added in v1.7.0 func (c Card) String() string type Processor ¶ added in v1.6.0 type Processor struct { Name string AVX bool SplitLockDetect bool } Processor is a representation of a system CPU Source Files ¶ View all Source files card.go card_linux.go cpu.go cpu_linux.go distro.go kernel_unix.go sysinfo.go Click to show internal directories. Click to hide internal directories.