controller

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	// contains filtered or unexported fields
}

func NewAuthController

func NewAuthController(usecases *app.Usecases) *AuthController

func (AuthController) Login

func (ctrl AuthController) Login(c echo.Context) error

type TodoController

type TodoController struct {
	// contains filtered or unexported fields
}

func NewTodoController

func NewTodoController(services *app.Usecases) *TodoController

func (TodoController) CreateTodo

func (ctrl TodoController) CreateTodo(c echo.Context) error

func (TodoController) DeleteTodo

func (ctrl TodoController) DeleteTodo(c echo.Context) error

func (TodoController) GetAllTodos

func (ctrl TodoController) GetAllTodos(c echo.Context) error

func (TodoController) UpdateTodo

func (ctrl TodoController) UpdateTodo(c echo.Context) error

Jump to

Keyboard shortcuts

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