Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDBConnString ¶
type MongoDBConnString string
type MongoDBEngine ¶
type MongoDBEngine interface { GetCollection(collectionName string) *mongo.Collection Disconnect() }
func NewMongoDB ¶
func NewMongoDB(connectionString MongoDBConnString, dbName string) (MongoDBEngine, error)
Connect implements MongoDB.
Click to show internal directories.
Click to hide internal directories.