data

package
v0.0.0-...-d31e6af Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBConnection

func DBConnection() map[string]interface{}

Types

type Mongo

type Mongo struct {
	Username string
	Password string
	Cluster  string
}

func (Mongo) Connect

func (m Mongo) Connect(l *logrus.Logger) *MongoClient

type MongoClient

type MongoClient struct {
	MONGO  *mongo.Client
	Logger *logrus.Logger
}

func (*MongoClient) Disconnect

func (m *MongoClient) Disconnect()

Jump to

Keyboard shortcuts

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