database

package
v0.0.0-...-3dea1f4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoClient *mongo.Client

MongoDB Client

Functions

func CloseMongoDB

func CloseMongoDB()

CloseMongoDB Close MongoDB connection

func GetCollection

func GetCollection(collectionName string) *mongo.Collection

GetCollection Get MongoDB collection

func InitMongoDB

func InitMongoDB()

InitMongoDB Init MongoDB connection

Types

This section is empty.

Jump to

Keyboard shortcuts

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