words

package
v2.0.0-...-4b7107c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Centos = "centos"
	Debian = "debian"
	Fedora = "fedora"
	Gentoo = "gentoo"
	Redhat = "redhat"
	Ubuntu = "ubuntu"
)
View Source
const (
	/*
	 * Ansi General
	 */
	Foreground = "fg"
	Background = "bg"

	/*
	 * Ansi Commands
	 */
	Bold          = "bold"
	Dim           = "dim"
	Hidden        = "hidden"
	Reset         = "reset"
	Strikethrough = "strikethrough"
	Underline     = "underline"

	/*
	 * AnsiColors
	 */
	Black   = "black"
	Blue    = "blue"
	Cyan    = "cyan"
	Green   = "green"
	Magenta = "magenta"
	Red     = "red"
	White   = "white"
	Yellow  = "yellow"
)
View Source
const (
	//
	MacSysCtl            = "sysctl"
	MacSysCtlHwMemSize   = "hw.memsize"
	MacSysCtlVmSwapUsage = "vm.swapusage"

	MacVmStat = "vm_stat"
)

* Darwin (macOS) commands

View Source
const (
	OsxLion         = "Mac OS X Lion"
	OsxMountainLion = "OS X Mountain Lion"
	OsxMavericks    = "OS X Mavericks"
	OsxYosemite     = "OS X Yosemite"
	OsxElCapitan    = "OS X El Capitan"
	MacOsSierra     = "macOS Sierra"
	MacOsHighSierra = "macOS High Sierra"
	MacOsMojave     = "macOS Mojave"
	MacOsCatalina   = "macOS Catalina"
	MacOsBigSur     = "macOS Big Sur"
	MacOsMonterey   = "macOS Monterey"
	MacOsVentura    = "macOS Ventura"
	MacOsSonoma     = "macOS Sonoma"
)
View Source
const (
	EmptyString = ""
	EqualSign   = "="
	Colon       = ":"
	Comma       = ","
	Hyphen      = "-"

	Period     = "."
	Space      = " "
	Tab        = "\t"
	Underscore = "_"
)

* Generic Words

View Source
const (
	Yes = "yes"
	No  = "no"
)
View Source
const (
	True  = "true"
	False = "false"
)
View Source
const (
	Command = "command"
	Create  = "create"
	Check   = "check"

	Free = "free"

	Help = "help"
)
View Source
const (
	Intel386 = "386"
	Amd64    = "amd64"
	Arm      = "arm"
	Arm64    = "arm64"
	Loong64  = "loong64"
	Mips     = "mips"
	Mips64   = "mips64"
	Mips64le = "mips64le"
	Mipsle   = "mipsle"
)
View Source
const (
	Aix       = "aix"
	Android   = "android"
	Darwin    = "darwin"
	Dragonfly = "dragonfly"
	FreeBsd   = "freebsd"
	Illumos   = "illumos"
	Ios       = "ios"
	Js        = "js"
	Linux     = "linux"
	NetBsd    = "netbsd"
	OpenBsd   = "openbsd"
	Plan9     = "plan9"
	Solaris   = "solaris"
	Windows   = "windows"
)
View Source
const (
	Brew       = "brew"
	Winget     = "winget"
	Chocolatey = "choco"
	AptGet     = "apt-get"
	Dpkg       = "dpkg"
	Rpm        = "rpm"
	Yum        = "yum"
)

* package managers

View Source
const (
	Ftp = "ftp"
	Scp = "scp"
	Ssh = "ssh"
)

* Programs (software in general)

View Source
const (
	Bash       = "bash"
	CommandCom = "cmd"
	Cshell     = "csh"

	NodeJs     = "node"
	Perl       = "perl"
	Powershell = "powershell"
	Python     = "python"
	Sh         = "sh"
	Zshell     = "zsh"
)

* Shells

View Source
const (
	Windows10 = "Windows 10"

	Windows81 = "Windows 81"
	Windows8  = "Windows 8"

	Windows7 = "Windows 7"

	WindowsVista = "Windows Vista"

	WindowsXp = "Windows XP"
	Windows2K = "Windows 2000"

	WindowsServer2K3 = "Windows Server 2003"
)
View Source
const (
	// MemTotal - Standard Total Memory field name (Linux)
	MemTotal = "MemTotal"
)

* standardized (linux) memory-related fields (see systemrecon/memory)

View Source
const (
	NewLine = "\n"
)
View Source
const (
	// SystemInfoCommand - system for gathering system facts
	SystemInfoCommand = "systeminfo"
)

* Windows commands

View Source
const (
	// WinMemTotal - Field from systeminfo
	WinMemTotal = "Total Physical Memory"
)

* Windows memory-related fields (see systemrecon/memory)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL