controllers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	gorpController.Controller
}

func (Application) About

func (c Application) About() revel.Result

func (Application) AddUser

func (c Application) AddUser() revel.Result

func (Application) Index

func (c Application) Index() revel.Result

func (Application) Login

func (c Application) Login(username, password string, remember bool) revel.Result

func (Application) Logout

func (c Application) Logout() revel.Result

func (Application) Register

func (c Application) Register() revel.Result

func (Application) SaveUser

func (c Application) SaveUser(user models.User, verifyPassword string) revel.Result

type Hotels

type Hotels struct {
	Application
}

func (Hotels) Book

func (c Hotels) Book(id int) revel.Result

func (Hotels) CancelBooking

func (c Hotels) CancelBooking(id int) revel.Result

func (Hotels) ConfirmBooking

func (c Hotels) ConfirmBooking(id int, booking models.Booking) revel.Result

func (Hotels) Index

func (c Hotels) Index() revel.Result

func (Hotels) List

func (c Hotels) List(search string, size, page uint64) revel.Result

func (Hotels) SaveSettings

func (c Hotels) SaveSettings(password, verifyPassword string) revel.Result

func (Hotels) Settings

func (c Hotels) Settings() revel.Result

func (Hotels) Show

func (c Hotels) Show(id int) revel.Result

Jump to

Keyboard shortcuts

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