Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APP_NAME string `mapstructure:"APP_NAME"` PORT string `mapstructure:"PORT"` GIN_MODE string `mapstructure:"GIN_MODE"` APP_ENV string `mapstructure:"APP_ENV"` TIMEOUT_REQ int64 `mapstructure:"TIMEOUT_REQUEST"` LOCAL string `mapstructure:"LOCAL"` BASE_URL_EDM string `mapstructure:"BASE_URL_EDM"` USERNAME_BRIGATE string `mapstructure:"USERNAME_BRIGATE"` PASSWORD_BRIGATE string `mapstructure:"PASSWORD_BRIGATE"` DEBUG bool `mapstructure:"DEBUG"` DB_USERNAME string `mapstructure:"DB_USERNAME"` DB_PASSWORD string `mapstructure:"DB_PASSWORD"` DB_HOST string `mapstructure:"DB_HOST"` DB_PORT string `mapstructure:"DB_PORT"` DB_DATABASE string `mapstructure:"DB_DATABASE"` TIME_LOCATION string `mapstructure:"TIME_LOCATION"` REDIS_HOST string `mapstructure:"REDIS_HOST"` REDIS_DB_QUEUE string `mapstructure:"REDIS_DB_QUEUE"` REDIS_PASSWORD string `mapstructure:"REDIS_PASSWORD"` }
var Configs *Config
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.