Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccessors ¶
func CreateAccessors(configLocation string) *setupCtx
CreateAccessors does initial setup and creates accessors to postgres, local/redis cache, battle.net, and discord.
func InitGlobalLogger ¶
func InitGlobalLogger(c Config)
Types ¶
type BnetAuthKeys ¶
BnetAuthKeys stores credentials used for OAuth with battle.net, and the base url for sending all requests
type Config ¶
type Config struct { Env string Patch model.RecipeVersion ValuationEnabled bool HotItemTimeoutDays int ShoppingListMaxItems int DragonflightDefaultItemRank int DB struct { ConnString string ConnLimit int } Cache struct { Type string Addr string Password string Database int } API model.APIConfig Bnet BnetAuthKeys ADS struct { Enabled bool URL string User string Password string } Orch struct { URL string User string Password string } }
Config contains settings for the bot
Directories ¶
Path | Synopsis |
---|---|
Package model holds types and constants that don't fit in any other specific package, or are DAO functions
|
Package model holds types and constants that don't fit in any other specific package, or are DAO functions |
Click to show internal directories.
Click to hide internal directories.