Documentation ¶
Overview ¶
Package routes defines routes for the app
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dashboard ¶
func Dashboard(w http.ResponseWriter, r *http.Request)
Dashboard is the endpoint to display a welcome page to auth'd db.users
func Login ¶
func Login(w http.ResponseWriter, r *http.Request)
Login is an endpoint to db.users to login through, injects a sessionToken that is valid for 2 hours
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.