sysinfo

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(ctx context.Context, opts Options) (report.Machine, error)

Collect gathers machine information into a report.Machine. Individual field failures are tolerated (left as zero values); Collect only returns an error if the OS refuses to give us any host info at all.

Types

type Options

type Options struct {
	OmitWifiSSID bool
}

Options controls sysinfo collection. OmitWifiSSID is consumed by the network adapter collector (added in Task 6); it's declared here so the Collect signature is stable across tasks.

Jump to

Keyboard shortcuts

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