package
0.0.0-20210915183647-588d2c83ddb7
Repository: https://github.com/syncore/a2sapi.git
Documentation: pkg.go.dev

# Functions

GetCfgPath returns the full OS-independent path to the configuration file.
GetServerDBPath returns the full OS-independent path to the server DB file.

# Constants

AppLogFilename specifies the name of the application log file.
ConfigDirectory specifies the directory in which to store the config file.
ConfigFilename specifies the name of the configuration file.
CountryMMDbFilename specifies the name of geolocation database file.
DbDirectory specifies the directory in which to store the database files.
DebugConfigFilename specifies the name of the configuration file to use when debug mode is set.
DumpDirectory represents the directory name used for server dump JSON files.
GameFile specifies the name of the Steam games file.
LogDirectory specifies the directory in which to store the log files.
LTypeApp represents the Application-related log type.
LTypeDebug represents the Debug-related log type.
LTypeSteam represents the Steam-related log type.
LTypeWeb represents the Web-related log type.
ServerDbFilename specifies the name of the server database file.
SteamLogFilename specifies the name of the Steam log file.
TestConfigFilename specifies the name of the test configuration file.
TestServerDbFilename specifies the name of the server database file used in tests.
TestTempDirectory specifies the temporary directory for test-related files.
WebLogFilename specifies the name of the web log file.

# Variables

AppInfo contains the application information.
AppLogFilePath represents the OS-independent full path to app log file.
ConfigFilePath represents the OS-independent full path to the config file.
CountryDbFilePath represents the OS-independent full path to the geolocation DB file.
DebugConfigFilePath represents the OS-independent full path to the debug configuration file.
DumpFileFullPath represents the OS-independent full path to the server dump JSON file.
GameFileFullPath represents the OS-independent full path to the game file.
IsDebug will determine whether the debug configuration is used.
IsTest will determine whether the test configuration is used when running tests.
ServerDbFilePath represents the OS-independent full path to the server DB file.
SteamLogFilePath represents the OS-independent full path to Steam log file.
TestConfigFilePath represents the OS-independent full path to the config file.
TestServerDbFilePath represents the OS-independent full path to the server database file used in tests.
TestServerDumpJSON is the JSON used for the server dump when performing tests.
Version is the version number of the application.
WebLogFilePath represents the OS-independent full path to web log file.

# Type aliases

LogType represents the type of log.