mongo

package
v0.0.0-...-0b86ddf Latest Latest
Warning

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

Go to latest
Published: May 12, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthDB

type AuthDB struct {
	Session *mgo.Session
	Config  *config.AuthDatabase
}

func GetAuthDB

func GetAuthDB() (*AuthDB, error)

func (*AuthDB) Connect

func (this *AuthDB) Connect() (*mgo.Session, error)

func (AuthDB) Setup

func (this AuthDB) Setup() (AuthDB, error)

Jump to

Keyboard shortcuts

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