mongo

package
v4.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfiguredMongoClient

func GetConfiguredMongoClient() interfaces.MongoDB

GetConfiguredMongoClient gets a configured mongo client

func GetMongo

func GetMongo(logger zap.Logger, config *viper.Viper) (interfaces.MongoDB, error)

GetMongo gets a mongo database model

Types

This section is empty.

Jump to

Keyboard shortcuts

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