Documentation ¶
Index ¶
- Variables
- type Item
- type ItemController
- func (c ItemController) Create(name string) revel.Result
- func (c ItemController) Delete(name string) revel.Result
- func (c ItemController) Get(name string) revel.Result
- func (c ItemController) List() revel.Result
- func (c ItemController) Modify(name string) revel.Result
- func (c ItemController) Update(name string) revel.Result
Constants ¶
This section is empty.
Variables ¶
View Source
var Items = make(map[string]Item)
Functions ¶
This section is empty.
Types ¶
type ItemController ¶
type ItemController struct {
*revel.Controller
}
func (ItemController) Create ¶
func (c ItemController) Create(name string) revel.Result
Create a new item
func (ItemController) Delete ¶
func (c ItemController) Delete(name string) revel.Result
Delete an item from the pool
Click to show internal directories.
Click to hide internal directories.