sysinfo

package standard library
go1.23.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package sysinfo implements high level hardware information gathering that can be used for debugging or information purposes.

Index

Constants

This section is empty.

Variables

View Source
var CPUName = sync.OnceValue(func() string {
	if name := cpu.Name(); name != "" {
		return name
	}

	if name := osCPUInfoName(); name != "" {
		return name
	}

	return ""
})

Functions

This section is empty.

Types

This section is empty.