Documentation
¶
Index ¶
Constants ¶
View Source
const ModuleName = "base"
Variables ¶
This section is empty.
Functions ¶
func CharsToString ¶
func Collect ¶
func Collect(c *collection.Collection)
func CollectKernelInfo ¶
func CollectKernelInfo(c *collection.Collection)
Types ¶
type KernelInfo ¶
type KernelInfo struct {
Kernel string
Hostname string
Version string
Release string
Machine string
Domainname string
FQDN string
CurrentTime string
}
func GetKernelInfo ¶
func GetKernelInfo() (i KernelInfo, err error)
Click to show internal directories.
Click to hide internal directories.