controllers

package
v0.0.0-...-d942aef Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admins

type Admins struct {
	*revel.Controller
	revmgo.MongoController
}

func (Admins) AddUsers2Course

func (c Admins) AddUsers2Course(Id string) revel.Result

func (Admins) CheckAdmin

func (c Admins) CheckAdmin() revel.Result

func (Admins) Course

func (c Admins) Course(Id string) revel.Result

func (Admins) Courses

func (c Admins) Courses(p int) revel.Result

func (Admins) FindUserByIdentifier

func (c Admins) FindUserByIdentifier(q, s string) revel.Result

func (Admins) IsAdmin

func (c Admins) IsAdmin() revel.Result

func (Admins) NewCourse

func (c Admins) NewCourse() revel.Result

func (Admins) RemoveUsersFromCourse

func (c Admins) RemoveUsersFromCourse(Id string) revel.Result

func (Admins) UpdateCourse

func (c Admins) UpdateCourse(Id string) revel.Result

func (Admins) UpdateUser

func (c Admins) UpdateUser(Id string) revel.Result

func (Admins) User

func (c Admins) User(Id string) revel.Result

func (Admins) Users

func (c Admins) Users(p int) revel.Result

type App

type App struct {
	*revel.Controller
}

func (App) Index

func (c App) Index() revel.Result

type Coordinators

type Coordinators struct {
	*revel.Controller
	revmgo.MongoController
}

func (Coordinators) AddStages

func (c Coordinators) AddStages(Id string) revel.Result

func (Coordinators) AddTasks

func (c Coordinators) AddTasks(Id string, Stage int) revel.Result

func (Coordinators) GetUsers

func (c Coordinators) GetUsers(Id string, UserType string) revel.Result

type Courses

type Courses struct {
	*revel.Controller
	revmgo.MongoController
}

func (Courses) Course

func (c Courses) Course(Id string) revel.Result

func (Courses) CoursesForUser

func (c Courses) CoursesForUser() revel.Result

type RegisterProfile

type RegisterProfile struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Email    string `json:"email"`
	Name     string `json:"name"`
}

type Session

type Session map[string]string

type Users

type Users struct {
	*revel.Controller
	revmgo.MongoController
}

func (Users) Login

func (c Users) Login() revel.Result

func (Users) LoginInfo

func (c Users) LoginInfo() revel.Result

func (Users) Logout

func (c Users) Logout() revel.Result

func (Users) Register

func (c Users) Register() revel.Result

Jump to

Keyboard shortcuts

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