Documentation ¶
Index ¶
- Constants
- func GetDefaultConfigValues() map[string]any
- func GetDofusDudeSource() *amqp.Source
- func GetLanguages() map[amqp.Language]string
- func GetSetPoints() map[amqp.EquipmentType][]image.Point
- func GetSupportedSearchIndex() []string
- func GetSupportedTypeEnums() []string
- type Ingredient
- type Source
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" // Redis URL. RedisURL = "REDIS_URL" // Redis user. RedisUser = "REDIS_USER" // Redis password. RedisPassword = "REDIS_PASSWORD" // Redis cache retention. Duration type. RedisCacheRetention = "REDIS_CACHE_RETENTION" // Redis cache size, following LFU rules. RedisCacheSize = "REDIS_CACHE_SIZE" // Cron tab to send almanax news. AlmanaxCronTab = "ALMANAX_CRON_TAB" // Cron tab to update set icons. UpdateSetCronTab = "UPDATE_SET_CRON_TAB" // Timeout to retrieve Dofus data. Duration type. DofusDudeTimeout = "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-Encyclopedia" Version = "2.0.0" RabbitMQClientID = InternalName UserAgent = ExternalName FrenchTimezone = "Europe/Paris" )
View Source
const ( DofusDudeGame = "dofus3beta" DofusDudeDefaultLanguage = "en" DofusDudeAlmanaxDateFormat = "2006-01-02" DofusDudeAlmanaxSizeLimit = 35 DofusDudeLimit = 25 )
View Source
const ( LogAnkamaID = "ankamaID" LogCorrelationID = "correlationID" LogDate = "date" LogDuration = "duration" LogEntityCount = "entityCount" LogFileName = "fileName" LogItemType = "itemType" LogKey = "key" LogQueryID = "queryID" LogQueryType = "queryType" LogReplyTo = "replyTo" LogLevelFallback = zerolog.InfoLevel )
View Source
const (
MountLevel = 60
)
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConfigValues ¶
func GetDofusDudeSource ¶
func GetLanguages ¶
func GetSetPoints ¶
func GetSetPoints() map[amqp.EquipmentType][]image.Point
func GetSupportedSearchIndex ¶
func GetSupportedSearchIndex() []string
func GetSupportedTypeEnums ¶
func GetSupportedTypeEnums() []string
Types ¶
Click to show internal directories.
Click to hide internal directories.