Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnQuery *mongo.Client
View Source
var Log *zap.Logger
View Source
var MongoCtx context.Context
View Source
var MongoCtxCancel context.CancelFunc
Functions ¶
func CloseMongoClient ¶
func CloseMongoClient()
func OpenCollection ¶
func OpenCollection(client *mongo.Client, collectionName string) *mongo.Collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.