Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Host string `mapstructure:"APP_HOST"` Port int `mapstructure:"APP_PORT"` JWTSecret string `mapstructure:"JWT_SECRET"` ApiEndpoint string `mapstructure:"API_ENDPOINT"` Database struct { Driver string `mapstructure:"DB_DRIVER"` Name string `mapstructure:"DB_NAME"` Address string `mapstructure:"DB_ADDRESS"` Port int `mapstructure:"DB_PORT"` Username string `mapstructure:"DB_USERNAME"` Password string `mapstructure:"DB_PASSWORD"` } Redis struct { Address string `mapstructure:"REDIS_ADDRESS"` Port int `mapstructure:"REDIS_PORT"` Username string `mapstructure:"REDIS_USERNAME"` Password string `mapstructure:"REDIS_PASSWORD"` } }
Click to show internal directories.
Click to hide internal directories.