Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Collection *mongo.Collection
Collection here that we manage Logs db
View Source
var Connect bool
Connect if db connected or not
View Source
var DB *mongo.Database
DB poiner to mongoDB and can access from any where
Functions ¶
func OpenConnection ¶
func OpenConnection()
OpenConnection function for open connection with mongodb once
Types ¶
Click to show internal directories.
Click to hide internal directories.