Documentation ¶
Index ¶
- type BaseController
- type TodosController
- func (this *TodosController) CreateTodo()
- func (this *TodosController) DeleteAllTodos()
- func (this *TodosController) DeleteTodo()
- func (this *TodosController) GetAllCompletedTodos()
- func (this *TodosController) GetAllPendingTodos()
- func (this *TodosController) GetAllTodos()
- func (this *TodosController) GetTodoById()
- func (this *TodosController) UpdateTodo()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct {
beego.Controller
}
func (*BaseController) SendJson ¶
func (this *BaseController) SendJson(dto interface{})
type TodosController ¶
type TodosController struct {
BaseController
}
func (*TodosController) CreateTodo ¶
func (this *TodosController) CreateTodo()
func (*TodosController) DeleteAllTodos ¶
func (this *TodosController) DeleteAllTodos()
func (*TodosController) DeleteTodo ¶
func (this *TodosController) DeleteTodo()
func (*TodosController) GetAllCompletedTodos ¶
func (this *TodosController) GetAllCompletedTodos()
func (*TodosController) GetAllPendingTodos ¶
func (this *TodosController) GetAllPendingTodos()
func (*TodosController) GetAllTodos ¶
func (this *TodosController) GetAllTodos()
func (*TodosController) GetTodoById ¶
func (this *TodosController) GetTodoById()
func (*TodosController) UpdateTodo ¶
func (this *TodosController) UpdateTodo()
Click to show internal directories.
Click to hide internal directories.