database

package
v0.0.0-...-1097d99 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBinstance *mongo.Database

Functions

This section is empty.

Types

type DBDataConnection

type DBDataConnection struct {
	Host     string
	Port     string
	DBName   string
	User     string
	Password string
}

func (DBDataConnection) Connect

func (db DBDataConnection) Connect() (context.CancelFunc, error)

Jump to

Keyboard shortcuts

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