Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Collection *collection = &collection{}
View Source
var ( // Holds the current MongoDB connections. Connection *connection = &connection{make(map[string]*mongo.Client)} )
View Source
var Database *database = &database{}
Functions ¶
func BuildConnectionURI ¶
func BuildConnectionURI(connection *models.Connection)
BuildConnectionURI builds the connection URI and adds it to the passed model
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.