Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoConnection ¶ added in v0.0.3
type MongoConnection struct { Collection *mongo.Collection // contains filtered or unexported fields }
MongoConnection is a MongoDB connection.
func NewMongoConnection ¶ added in v0.0.3
func NewMongoConnection(client *mongo.Client, database string, collection string) *MongoConnection
NewMongoConnection creates a new MongoDB connection.
Click to show internal directories.
Click to hide internal directories.