Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ActiveUserEmail string
ActiveUserEmail "global" var within routers package
View Source
var ActiveUserID string
ActiveUserID "global" var within routers package
View Source
var AppDB = database.MongoConnection.Database("twittAppDB")
AppDB is the database for our app
View Source
var UsersCollection = AppDB.Collection("users")
UsersCollection is the "users" collection within DB
Functions ¶
func Login ¶
func Login(w http.ResponseWriter, r *http.Request)
Login initializes logIn process for user, with their email/password
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.