config

package
v0.0.0-...-a8602ed Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSession

func NewSession(uri string) *mongo.Client

NewSession creates a new mongo session returning a pointer to the asked database collection

Types

type Env

type Env struct {
	CL *mongo.Collection
}

Env struct points to a mongo collection

Jump to

Keyboard shortcuts

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