Documentation
¶
Index ¶
Constants ¶
View Source
const DeviceNameCtxKey = "deviceName"
DeviceNameCtxKey context key for device name
View Source
const OsNameCtxKey = "OsName"
OsNameCtxKey context key for operating system name
View Source
const OsVersionCtxKey = "OsVersion"
OsVersionCtxKey context key for operating system version
Variables ¶
This section is empty.
Functions ¶
func GetDesktopUIUserAgent ¶
func GetDesktopUIUserAgent() string
GetDesktopUIUserAgent returns the Desktop ui user agent
Types ¶
type Info ¶
type Info struct {
GoOS string
Kernel string
Core string
Platform string
OS string
OSVersion string
Hostname string
CPUs int
WiretrusteeVersion string
UIVersion string
}
Info is an object that contains machine information Most of the code is taken from https://github.com/matishsiao/goInfo
Click to show internal directories.
Click to hide internal directories.