Help us shape the future of Go! Take the 2026 Go Developer Survey

hostinfo

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package hostinfo collects the hardware fields used by the doctor reports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Memory

func Memory() (uint64, error)

Types

type GraphicsCard

type GraphicsCard struct {
	Name   string
	Vendor string
	Driver string
}

func Graphics

func Graphics() ([]GraphicsCard, error)

type Processor

type Processor struct {
	Model string
	Cores int
}

func Processors

func Processors() ([]Processor, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL