Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseMongoDbClient ¶
func CloseMongoDbClient()
******* * Close MongoDb connection * TODO: * ~Stop MongoClient when its ideal for more than 2 mins ********
func ConnectAndGetMongoDbCollection ¶
func ConnectAndGetMongoDbCollection(documentName string, tableName string) *mongo.Collection
******* * connect To MongoDb and get Collection by passing documentName,tableName as a String * and Return the collection pointer ********
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.