Documentation ¶
Index ¶
Constants ¶
View Source
const ( DBHOST = "localhost" DBNAME = "unival" COLLECTION = "users" SALT = "uniconsole" )
Variables ¶
View Source
var DBSession *mgo.Session
Functions ¶
func GetConnection ¶
func GetConnection() *mgo.Collection
Types ¶
Click to show internal directories.
Click to hide internal directories.