Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppDB = MongoConnection.Database("twittAppDB")
AppDB is the database for our app
View Source
var MongoConnection = ConnectionToDB()
MongoConnection initializes connection
View Source
var UsersCollection = AppDB.Collection("users")
UsersCollection is the "users" collection within DB
Functions ¶
func CheckExistentUser ¶
CheckExistentUser searches a user in DB by email
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.