mongo

package
v0.0.0-...-5463b5b Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DBName         string = "coredata"
	CollectionName string = "exportConfiguration"
)

DBName - DB name CollectionName - Collection name

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	Session *mgo.Session
}

Repository - get Mongo session

func NewRepository

func NewRepository(ms *mgo.Session) *Repository

NewRepository - create new Mongo repository

Jump to

Keyboard shortcuts

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