controllers

package
v1.0.0-...-b9d9dc7 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TODO

type TODO struct {
	*utron.BaseController
	Routes []string
}

TODO is a controller for Todo list

func NewTODO

func NewTODO() *TODO

NewTODO returns a new todo list controller

func (*TODO) Create

func (t *TODO) Create()

Create creates a todo item

func (*TODO) Delete

func (t *TODO) Delete()

Delete deletes a todo item

func (*TODO) Home

func (t *TODO) Home()

Home renders a todo list

Jump to

Keyboard shortcuts

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