connection

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ConnectionString is using to connect MongoDB instance
	ConnectionString string
	//DBName is using to determine which DB is used to store images
	DBName string
	//MaxPoolSize is using to connect MongoDB instance
	MaxPoolSize uint64
)
View Source
var (
	//AzureURI is using to connect Azure Blob Storage instance
	AzureURI string
	//AccountName is using to connect Azure Blob Storage instance
	AccountName string
	//AccountKey is using to connect Azure Blob Storage instance
	AccountKey string
)

Functions

func InitiateMongoClient

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

InitiateMongoClient is used to connect MongoDB instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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