Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysType ¶
type SysType string
SysType is a type which Linux distribution
const ( // RedHat is a series of Linux which using yum for package manager // ex. Centos / RedHat Enterprise/ Fedora RedHat SysType = "redhat" // Debian is a series of Linux which using apt for package manager // ex. Ubuntu / Deepin / Kylin Debian SysType = "debian" // Arch is a series of Linux which using pacman for package manager // ex. Arch / Manjaro / KaOS Arch SysType = "arch" // UnSupported for others,which unsupported for now UnSupported SysType = "unsupported" )
func SystemType ¶
SystemType return the type of the running linux
Click to show internal directories.
Click to hide internal directories.