Discover Packages
github.com/synseqack/aict
tools
system
package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Apr 6, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type OSInfo struct {
XMLName xml .Name `xml:"os"`
GOOS string `xml:"goos,attr"`
GOARCH string `xml:"goarch,attr"`
Hostname string `xml:"hostname,attr"`
Kernel string `xml:"kernel,attr"`
OSRelease string `xml:"os_release,attr"`
Distro string `xml:"distro,attr"`
}
type RuntimeInfo struct {
XMLName xml .Name `xml:"runtime"`
Version string `xml:"version,attr"`
NumCPU int `xml:"num_cpu,attr"`
NumGoroutine int `xml:"num_goroutine,attr"`
}
type SystemError struct {
XMLName xml .Name `xml:"error"`
Code int `xml:"code,attr"`
Msg string `xml:"msg,attr"`
}
type UserInfo struct {
XMLName xml .Name `xml:"user"`
Username string `xml:"username,attr"`
UID string `xml:"uid,attr"`
GID string `xml:"gid,attr"`
Home string `xml:"home,attr"`
Shell string `xml:"shell,attr"`
Groups []string `xml:"group"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.