Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AppPort string DBHost string DBPort string DBDatabase string DBUsername string DBPassword string Logger *logrus.Logger DBConn *sql.DB }
Config this is a general purpose struct where we can keep all the app configuration items in a singleton style object
func InitConfig ¶
InitConfig this function will run and log out all the different environment variables if something isn't set correctly, it'll die and log the errors
Click to show internal directories.
Click to hide internal directories.