controllers

package
Version: 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

This section is empty.

Variables

View Source
var (
	Dbm *gorp.DbMap
)

Functions

func InitDB

func InitDB()

Types

type App

type App struct {
	GorpController
}

func (App) Index

func (c App) Index() revel.Result

func (App) Login

func (c App) Login() revel.Result

func (App) Logout

func (c App) Logout() revel.Result

func (App) Register

func (c App) Register() revel.Result

type GorpController

type GorpController struct {
	*r.Controller
	Txn *gorp.Transaction
}

func (*GorpController) Begin

func (c *GorpController) Begin() r.Result

func (*GorpController) Commit

func (c *GorpController) Commit() r.Result

func (*GorpController) Rollback

func (c *GorpController) Rollback() r.Result

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL