controllers

package
v0.0.0-...-b40f386 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2014 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonGetUser

func CommonGetUser(w http.ResponseWriter, r *http.Request, app *models.Application, rCtx *models.RequestContext) bool

CommonGetUser gets the user ID from the session and the user from the database.

func CommonNotSignInRequired

func CommonNotSignInRequired(w http.ResponseWriter, r *http.Request, app *models.Application, rCtx *models.RequestContext) bool

func CommonSignInRequired

func CommonSignInRequired(w http.ResponseWriter, r *http.Request, app *models.Application, rCtx *models.RequestContext) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL