mongodb

package
v0.0.0-...-aed9658 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DSN     string
	MaxOpen uint64 = 10
	DB      *mongo.Client
)
View Source
var (
	DefaultTimeout = 5 * time.Second
)

Functions

func BuildMongoDB

func BuildMongoDB()

func CloseMongoDB

func CloseMongoDB() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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