Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvMongoUsr represents the environment variable where the mongo's user key is located EnvMongoUsr = "MONGO_USR" // EnvMongoPwd represents the environment variable where the mongo's password key is located EnvMongoPwd = "MONGO_PWD" // Database consultable by the app Database = "tp-auth" // Timeout for any database request Timeout = 3600 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func NewDatabaseConnection ¶
NewDatabaseConnection returns a brand new database connection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.