controllers

package
v0.0.0-...-875d6ed Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLog

func AddLog(c *revel.Controller) revel.Result

func Authenticate

func Authenticate(c *revel.Controller) revel.Result

In order to valid the user.

func AuthenticateAdmin

func AuthenticateAdmin(c *revel.Controller) revel.Result

func InitDB

func InitDB()

Types

type Admin

type Admin struct {
	gormc.Controller
}

type App

type App struct {
	gormc.Controller
}

func (App) Image

func (c App) Image(name string) revel.Result

func (App) Index

func (c App) Index() revel.Result

func (App) Insert

func (c App) Insert() revel.Result

func (App) Login

func (c App) Login() revel.Result

func (App) Register

func (c App) Register() revel.Result

type Session

type Session struct {
	gormc.Controller
}

type SessionsModel

type SessionsModel struct {
	Userusername      string
	SessionDate       string
	SessionTime_Start string
	SessionTime_End   string
}

type User

type User struct {
	gormc.Controller
}

func (User) DeleteSession

func (c User) DeleteSession() revel.Result

func (User) GetUser

func (c User) GetUser() revel.Result

func (User) Session

func (c User) Session() revel.Result

func (User) Show

func (c User) Show() revel.Result

func (User) SubscribeSession

func (c User) SubscribeSession() revel.Result

type UserModel

type UserModel struct {
	Id              uint
	UserPhoto       string
	UserName        string
	UserInstitution string
	IdGoogle        uint
	IdTipo          uint
}

Jump to

Keyboard shortcuts

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