Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Module provided to fxlog // https://uber-go.github.io/fx/modules.html Module = fx.Module( "mongofx", mongoProviders, mongoInvokes, ) )
Functions ¶
func NewMongoDB ¶
func NewMongoDB(cfg *MongoDbOptions) (*mongo.Client, error)
NewMongoDB Create new MongoDB client
Types ¶
Click to show internal directories.
Click to hide internal directories.