Documentation
¶
Index ¶
- func DailyEmail(context schedule.Context)
- func HandleCreate(context router.Context) error
- func HandleCreateShow(context router.Context) error
- func HandleDestroy(context router.Context) error
- func HandleIndex(context router.Context) error
- func HandleLogin(context router.Context) error
- func HandleLoginShow(context router.Context) error
- func HandleLogout(context router.Context) error
- func HandleShow(context router.Context) error
- func HandleShowName(context router.Context) error
- func HandleUpdate(context router.Context) error
- func HandleUpdateShow(context router.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DailyEmail ¶
DailyEmail sends a daily email to subscribed users with top stories - change this to WeeklyEmail before putting it into production We should probably only do this for kenny at present
func HandleCreate ¶
HandleCreate handles POST /users/create from the register page
func HandleCreateShow ¶
HandleCreateShow handles GET /users/create
func HandleDestroy ¶
HandleDestroy responds to POST /users/1/destroy
func HandleIndex ¶
HandleIndex serves a GET request at /users
func HandleLogin ¶
HandleLogin handles a post to /users/login
func HandleLoginShow ¶
HandleLoginShow shows the page at /users/login
func HandleLogout ¶
HandleLogout clears the current user's session /users/logout
func HandleShow ¶
HandleShow serve a get request at /users/1
func HandleShowName ¶
HandleShowName redirects a GET request of /u/username to the user show page
func HandleUpdate ¶
HandleUpdate or PUT /users/1/update
func HandleUpdateShow ¶
HandleUpdateShow serves a get request at /users/1/update (show form to update)
Types ¶
This section is empty.