network

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNetworkSerials

func GetNetworkSerials(executor utils.CmdExecutor) ([]string, error)

GetNetworkSerials retrieves the serial numbers of network devices using the `lshw` command.

Types

type Devices

type Devices struct {
	Serial string `json:"serial"`
}

Devices represents a network device with its serial number.

Jump to

Keyboard shortcuts

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