Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Utsname ¶
type Utsname struct {
Release [65]byte
}
Utsname represents the system name structure. It is defined here to make it portable as it is available on linux but not on windows.
type VersionInfo ¶
type VersionInfo struct {
// contains filtered or unexported fields
}
VersionInfo holds information about the kernel.
func GetKernelVersion ¶
func GetKernelVersion() (*VersionInfo, error)
GetKernelVersion gets the current kernel version.
func (*VersionInfo) String ¶
func (k *VersionInfo) String() string
Click to show internal directories.
Click to hide internal directories.