config

package
v0.0.0-...-cda5c7b Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: MIT Imports: 6 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

func TplManager

func TplManager() *template.Template

Types

type Data

type Data struct {
	CL *mongo.Collection
}

Data struct points to a mongo collection

Jump to

Keyboard shortcuts

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