Versions in this module Expand all Collapse all v0 v0.2.0 Nov 11, 2024 v0.1.0 Sep 14, 2024 Changes in this version + type All struct + Desktop Desktop + Disks []Disk + Hardware Hardware + NetworkDevices []NetworkDevice + OS OS + Packages Packages + Status Status + func GatherAll() (*All, error) + type CPU struct + Arch string + Model string + func GatherCPUs() ([]CPU, error) + type Desktop struct + Name string + Protocol DisplayProtocol + func GatherDesktop() (*Desktop, error) + type Disk struct + Controller string + Model string + Name string + Type string + func GatherDisks() ([]Disk, error) + type DisplayProtocol int + const Unknown + const Wayland + const X11 + func (dp DisplayProtocol) String() string + type GPU struct + Driver string + Name string + func GatherGPUs() ([]GPU, error) + type Hardware struct + CPUs []CPU + GPUs []GPU + PhysicalMemory uint64 + Product string + Swap uint64 + UsableMemory uint64 + Vendor string + func GatherHardware() (*Hardware, error) + type NetworkDevice struct + Connected bool + Interface string + Type string + func GatherNetworkDevices() ([]NetworkDevice, error) + type OS struct + Atomic bool + Name string + Variant string + Version string + func GatherOS() (*OS, error) + type Packages struct + RPMCount int + SystemFlatpakCount int + UserFlatpakCount int + func GatherPackages() (*Packages, error) + type Status struct + Kernel string + RootDiskFree uint64 + RootFilesystem string + Uptime time.Duration + func GatherStatus() (*Status, error)