Documentation ¶
Overview ¶
Package hostos contains utility functions for getting information about the host OS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
Version represents a semantic version of the form "%d.%d[.%d]".
func KernelVersion ¶
KernelVersion returns the version of the kernel using uname().
Click to show internal directories.
Click to hide internal directories.