Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Informations ¶
type Informations struct { SystemInformations *SystemInformations `json:"system_informations"` NetworkInformations *NetworkInformations `json:"network_informations"` OtherInformations *OtherInformations `json:"other_informations"` }
func GetInformations ¶
func GetInformations() (*Informations, error)
type InterfaceInformations ¶
type NetworkInformations ¶
type NetworkInformations struct {
Interfaces []InterfaceInformations `json:"interfaces"`
}
func GetNetworkInformations ¶
func GetNetworkInformations() (*NetworkInformations, error)
type OtherInformations ¶
type SystemInformations ¶
type SystemInformations struct { OperatingSystem *OperatingSystemInformations `json:"operating_system"` VirtualizationInformations *VirtualizationInformations `json:"virtualization"` Hostname string `json:"hostname"` SerialNumber string `json:"serial_number"` UUID string `json:"uuid"` OmnisVersion string `json:"omnis_version"` }
func GetSystemInformations ¶
func GetSystemInformations() (*SystemInformations, error)
Click to show internal directories.
Click to hide internal directories.