package
0.0.0-20230629063550-1bf19d31f6f8
Repository: https://github.com/my10c/linux-monitor-go.git
Documentation: pkg.go.dev
# Functions
function to convert network speed from bytes/sec to X/sec.
Function to exit if an error occured.
Function to exit if pointer is nill.
Function to exit with the nagios standard exit code and word (WARNING, CRITICAL, UNKNOWN) if error was not nil.
Function to the MD5 value of the given file.
Function to the MD5 value of the given file pointer.
Function to map string to int for syslog.
Function to check if we are on a Linux system.
Function to check if the system is the given OS.
Function to check if the user that runs the app is root.
Function to log of the nolog was not set to true.
Function to show a map entry, key and value and displayed in yaml.
Function to log any reveived signal.
Function to convert slice of string to a single string.
Function to print the given message to stdout and log file.
Function to convert a strings to a slice.
Function to remove the last char (given) of a given string.
Function to write a log if debug was enabled.
# Variables
No description provided by the author
syslog need to this so configuration can use string instead of int.