db

package
v0.0.0-...-df394e8 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() *mongo.Client

Client : function to get Mongo Client

func Connect

func Connect() *mongo.Client

Connect : To connect to the mongoDb

func ConnectTest

func ConnectTest(t *testing.T) *mongo.Client

ConnectTest : To connect to the mongoDb for test

func GetDevSummaryDb

func GetDevSummaryDb() string

GetDevSummaryDb : Get Dev Summary Db

func GetMongoClient

func GetMongoClient() (*mongo.Client, error)

GetMongoClient : To Get Mongo Client Object

func GetPantahubBaseDB

func GetPantahubBaseDB() string

GetPantahubBaseDB : Get Pantahub Base DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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