package
1.2.16
Repository: https://github.com/chuxorg/chux-datastore.git
Documentation: pkg.go.dev

# Functions

The New func constructs the MongoDB struct with the given options.
WithCollectionName is a functional option that sets the MongoDB Collection Name.
WithDatabaseName is a functional option that sets the MongoDB Database Name.
No description provided by the author
WithTimeout is a functional option that sets the MongoDB Timeout.
WithURI is a functional option that sets the MongoDB URI.

# Structs

The MongoDB struct is used to store the MongoDB configuration.

# Interfaces

go:generate mockery --name MongoClient.
No description provided by the author
go:generate mockery --name MongoDB.
go:generate mockery --name MongoDocument.