Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MongoDBUrl is the default mongodb url that will be used to connect to the // database. MongoDBUrl = "mongodb://localhost:27017/vitrnx_store" )
Variables ¶
View Source
var ( // Session stores mongo session Session *mgo.Session // Mongo stores the mongodb connection string information Mongo *mgo.DialInfo )
Functions ¶
func InitMongoConnection ¶
func InitMongoConnection()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.