web_controllers

package
v0.0.0-...-ad30d7b Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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