Documentation ¶
Index ¶
Constants ¶
View Source
const SESSION_KEY_LOGIN = "frog_login"
Variables ¶
This section is empty.
Functions ¶
func UserLoginFilter ¶
func UserLoginFilter(c *revel.Controller, fc []revel.Filter)
Types ¶
type UserController ¶
type UserController struct {
WebController
}
func (UserController) Index ¶
func (c UserController) Index() revel.Result
func (UserController) LoginRequest ¶
func (c UserController) LoginRequest(userEmail string, password string) revel.Result
func (UserController) Logout ¶
func (c UserController) Logout() revel.Result
func (UserController) Register ¶
func (c UserController) Register() revel.Result
func (UserController) RegisterRequest ¶
func (c UserController) RegisterRequest(user *models.User) revel.Result
type WebController ¶
type WebController struct {
controllers.App
}
Click to show internal directories.
Click to hide internal directories.