controllers

package
v0.0.0-...-937b74c Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionalController

type TransactionalController struct {
	*revel.Controller
	Txn *gorm.DB
}

func (*TransactionalController) Begin

func (*TransactionalController) Commit

func (c *TransactionalController) Commit() revel.Result

func (*TransactionalController) Rollback

func (c *TransactionalController) Rollback() revel.Result

Jump to

Keyboard shortcuts

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