mongo

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL