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

linuxdmi

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: Apache-2.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available added in v0.26.0

func Available(ctx context.Context) bool

Available returns true if DMI/SMBIOS data is exposed by the kernel, i.e. the host has a populated /sys/class/dmi/id directory. It is used to decide whether to fall back to other sources (such as the DeviceTree) for hardware identity.

func Item

func Item(ctx context.Context, value string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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