# README
Package mongo
v1.4.0
Useful tools around MongoDB.
mongo.DefaultDatabaseName = "default-database"
mongo.Session(logger.Default())
Create a new session based on MONGO_URL
, connection will be initialized only
once, so you can call it everytime your need a session.
Will wait until database is available.
If no MONGO_URL
is defined, will use mongodb://localhost:27017/ + DefaultDatabaseName
# Functions
No description provided by the author
Session tries to open a session against a MongoDB database in a loop.
# Variables
No description provided by the author