Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Class ¶
type Class string
const ( // used to refer to the whole machine (laptop, server, desktop computer) Systems Class = "system" // internal bus converter (PCI-to-PCI brige, AGP bridge, PCMCIA controler, host bridge) Bridge Class = "bridge" // memory bank that can contain data, executable code, etc. // RAM, BIOS, firmware, extension ROM Memory Class = "memory" // execution processor (CPUs, RAID controller on a SCSI bus) Processor Class = "processor" // memory address range extension ROM, video memory Address Class = "address" // storage controller (SCSI controller, IDE controller) Storage Class = "storage" // random-access storage device discs, optical storage (CD-ROM, DVD±RW...) Disk Class = "disk" // sequential-access storage device (DAT, DDS) Tape Class = "tape" // device-connecting bus (USB, SCSI, Firewire) Bus Class = "bus" // network interface (Ethernet, FDDI, WiFi, Bluetooth) Network Class = "network" // display adapter (EGA/VGA, UGA...) Display Class = "display" // user input device (keyboards, mice, joysticks...) Input Class = "input" // printing device (printer, all-in-one) Printer Class = "printer" // audio/video device (sound card, TV-output card, video acquisition card) Multimedia Class = "multimedia" // line communication device (serial ports, modem) Communication Class = "communication" // energy source (power supply, internal battery) Power Class = "power" // disk volume (filesystem, swap, etc.) Volume Class = "volume" // generic device (used when no pre-defined class is suitable) Generic Class = "generic" // Print everything All Class = "all" )
type Format ¶
type Format string
const ( FormatXML Format = "-xml" // output hardware tree as XML FormatJSON Format = "-json" // output hardware tree as JSON FormatHTML Format = "-html" // output hardware tree as HTML FormatShort Format = "-short" // output hardware paths FormatBusinfo Format = "-businfo" // output bus information FormatEmpty Format = "" )
Click to show internal directories.
Click to hide internal directories.