package
1.0.2
Repository: https://github.com/wangyysde/sysadm.git
Documentation: pkg.go.dev

# Functions

CheckLogLevel check level if is a log level string.
No description provided by the author
Get the absolute path of configurationn file and try to open it cfgPath: the path of configuration file user specified cmdRunPath: args[0] */.
Try to get apiVersion from one of envName, configuration file or default value.
ValidateConns 1.
Try to get DB name from one of envName, configuration file or default value.
Try to get log DB type from one of envName, configuration file or default value.
ValidateIsSplitLog 1.
ValidateIsTls 1.
ValidateListenAddress 1.
ValidateListenPort 1.
ValidateListenSocket 1.
ValidateLogFile 1.
Try to get log kind from one of envName,configuration file or default value.
Try to get log level from one of envName, configuration file or default value.
Try to get log time format from one of envName, configuration file or default value.
Try to get password from one of envName, configuration file or default value.
ValidateServerAddress 1.
ValidateServerPort 1.
ValidateServerSocket 1.
ValidateTlsFile 1.
Try to get user from one of envName, configuration file or default value.

# Structs

Defining log configuration .
Defining server configuration.
Define tls structure.
No description provided by the author
No description provided by the author