Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig()
Types ¶
type AppConf ¶
type AppConf struct { DbUsername string `mapstructure:"DB_USERNAME"` DbPassword string `mapstructure:"DB_PASSWORD"` DbHostname string `mapstructure:"DB_HOSTNAME"` DbPort string `mapstructure:"DB_PORT"` DbName string `mapstructure:"DB_NAME"` ServPort string `mapstructure:"BACKEND_PORT"` ServHost string `mapstructure:"BACKEND_HOSTNAME"` HttpProto string `mapstructure:"HTTP_PROTOCOL"` Domain string `mapstructure:"DOMAIN_NAME"` BotId uuid.UUID BotIdString string `mapstructure:"BOT_ID"` BotName string `mapstructure:"CHAT_BOT_NAME"` Assets string `mapstructure:"ASSET_DIR"` }
var App AppConf
Click to show internal directories.
Click to hide internal directories.