configs

package
v0.0.0-...-a435462 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Client instance

Functions

func ConnectDB

func ConnectDB() *mongo.Client

func EnvMongoURI

func EnvMongoURI() string

func GetCollection

func GetCollection(client *mongo.Client, collectionName string) *mongo.Collection

getting database collections

func RestPort

func RestPort() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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