Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigFileName = ".env" // MySQL URL with the following format: HOST:PORT. MySQLURL = "MYSQL_URL" // MySQL user. MySQLUser = "MYSQL_USER" // MySQL password. MySQLPassword = "MYSQL_PASSWORD" // MySQL database name. MySQLDatabase = "MYSQL_DATABASE" // RabbitMQ address. RabbitMQAddress = "RABBITMQ_ADDRESS" // Dofus Portals Token. DofusPortalsToken = "DOFUS_PORTALS_TOKEN" // Timeout to retrieve portals in seconds. DofusPortalsTimeout = "HTTP_TIMEOUT" // Probe port. ProbePort = "PROBE_PORT" // Metric port. MetricPort = "METRIC_PORT" // Zerolog values from [trace, debug, info, warn, error, fatal, panic]. LogLevel = "LOG_LEVEL" // Boolean; used to register commands at development guild level or globally. Production = "PRODUCTION" )
View Source
const ( ExternalName = "KaellyBot" InternalName = "Kaelly-Portals" Version = "2.0.0" RabbitMQClientID = InternalName DofusPortalsURL = "https://api.dofus-portals.fr" )
View Source
const ( LogFileName = "fileName" LogCorrelationID = "correlationID" LogServerID = "serverID" LogDimensionID = "dimensionID" LogAreaID = "areaID" LogReplyTo = "replyTo" LogSubAreaID = "subAreaID" LogTransportTypeID = "transportTypeID" LogLevelFallback = zerolog.InfoLevel )
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConfigValues ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.