Documentation ¶
Index ¶
- type Application
- func (c Application) About() revel.Result
- func (c Application) AddUser() revel.Result
- func (c Application) Index() revel.Result
- func (c Application) Login(username, password string, remember bool) revel.Result
- func (c Application) Logout() revel.Result
- func (c Application) Register() revel.Result
- func (c Application) SaveUser(user models.User, verifyPassword string) revel.Result
- type Hotels
- func (c Hotels) Book(id int) revel.Result
- func (c Hotels) CancelBooking(id int) revel.Result
- func (c Hotels) ConfirmBooking(id int, booking models.Booking) revel.Result
- func (c Hotels) Index() revel.Result
- func (c Hotels) List(search string, size, page uint64) revel.Result
- func (c Hotels) SaveSettings(password, verifyPassword string) revel.Result
- func (c Hotels) Settings() revel.Result
- func (c Hotels) Show(id int) revel.Result
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
type Hotels ¶
type Hotels struct {
Application
}
func (Hotels) ConfirmBooking ¶
func (Hotels) SaveSettings ¶
Click to show internal directories.
Click to hide internal directories.