Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Structure ¶
type Structure struct {
Header Header
Formatted []byte
Strings []string
// contains filtered or unexported fields
}
A Structure is an SMBIOS structure.
func (*Structure) DataLength ¶ added in v0.1.3
DataLength data长度
func (*Structure) FormattedCount ¶
FormattedCount 格式化数据队列长度, 避免索引出界
func (*Structure) IsOverFlow ¶ added in v0.1.3
IsOverFlow 判断是否越界
type StructureType ¶
type StructureType byte
StructureType Structure definition type
const ( BIOS StructureType = iota System BaseBoard Chassis Processor Controller Module Cache PortConnector SystemSlots OnBoardDevices OEMStrings SystemConfigurationOptions BIOSLanguage GroupAssociations SystemEventLog PhysicalMemoryArray MemoryDevice Bit32MemoryError MemoryArrayMappedAddress MemoryDeviceMappedAddress BuiltInPointingDevice PortableBattery SystemReset HardwareSecurity SystemPowerControls VoltageProbe CoolingDevice TemperatureProbe ElectricalCurrentProbe OutOfBandRemoteAccess BootIntegrityServices SystemBoot Bit64MemoryError ManagementDevice ManagementDeviceComponent ManagementDeviceThresholdData MemoryChannel IPMIDevice PowerSupply AdditionalInformation OnBoardDevicesExtendedInformation ManagementControllerHostInterface /*42*/ Inactive StructureType = 126 EndOfTable StructureType = 127 )
func (StructureType) String ¶
func (b StructureType) String() string
Click to show internal directories.
Click to hide internal directories.