mymongo

package
v0.0.0-...-2d91a95 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStore

type DataStore struct {
	Session *mgo.Session
}

DataStore containing a pointer to a mgo session

func (*DataStore) Close

func (ds *DataStore) Close()

Close is a helper method that ensures the session is properly terminated

func (*DataStore) ConnectToTagserver

func (ds *DataStore) ConnectToTagserver() (err error)

ConnectToTagserver is a helper method that connections to pubgears' tagserver database

Jump to

Keyboard shortcuts

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