Documentation ¶
Overview ¶
Package model provides model definition for startup processor
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dcb ¶
type Dcb struct { DCBlength uint32 BaudRate uint32 XonLim uint16 XoffLim uint16 ByteSize byte Parity byte StopBits byte XonChar byte XoffChar byte ErrorChar byte EOFChar byte EvtChar byte // contains filtered or unexported fields }
Dcb structure http://pinvoke.net/default.aspx/Structures/DCB.html
type DriverInfo ¶
DriverInfo represents driver information that is written to console.
type EventLog ¶
type EventLog struct { ID uint32 `json:"Id"` LogName string `json:"LogName"` Level uint8 `json:"Level"` ProviderName string `json:"ProviderName"` Message string `json:"Message"` Properties []EventLogProperties `json:"Properties"` TimeCreated string `json:"TimeCreated"` }
EventLog contains Id, LogName, Level, ProviderName, Message, Properties, and TimeCreated from result of Get-WinEvent
type EventLogProperties ¶
type EventLogProperties struct {
Value interface{} `json:"Value"`
}
EventLogProperties contains Value used by EventLog struct. The value can be any type.
type OperatingSystemInfo ¶
type OperatingSystemInfo struct { Version string `json:"Version"` OperatingSystemSKU int `json:"OperatingSystemSKU"` }
OperatingSystemInfo contains Version and OperatingSystemSKU from Win32_OperatingSystem.
type PnpEntity ¶
type PnpEntity struct { DeviceID string `json:"DeviceID"` Service string `json:"Service"` Name string `json:"Name"` }
PnpEntity contains DeviceId, Service, Name from Win32_PnpEntity.
type PnpSignedDriver ¶
type PnpSignedDriver struct { Description string `json:"Description"` DriverVersion string `json:"DriverVersion"` }
PnpSignedDriver contains Description, DriverVersion from Win32_PnpSignedDriver.
type WindowsDriver ¶
type WindowsDriver struct { OriginalFileName string `json:"OriginalFileName"` Version string `json:"Version"` }
WindowsDriver contains OriginalFileName and Version from result of Get-WindowsDriver.
type WindowsInfo ¶
type WindowsInfo struct { ProductName string `json:"ProductName"` BuildLabEx string `json:"BuildLabEx"` CurrentMajorVersionNumber int `json:"CurrentMajorVersionNumber"` CurrentMinorVersionNumber int `json:"CurrentMinorVersionNumber"` }
WindowsInfo contains ProductName and BuildLabEx from HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion.