todo

package
v0.0.0-...-ac624b7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCreateTodo

func HandleCreateTodo(s *server.Server) echo.HandlerFunc

HandleCreateTodo takes POST of new TODOs

func HandleDeleteTodoByID

func HandleDeleteTodoByID(s *server.Server) echo.HandlerFunc

HandleDeleteTodoByID deleted an individual todo by it's ID

func HandleGetTodoByID

func HandleGetTodoByID(s *server.Server) echo.HandlerFunc

HandleGetTodoByID returns a single todo item based on the requested ID

func HandleGetTodos

func HandleGetTodos(s *server.Server) echo.HandlerFunc

HandleGetTodos returns all todos as JSON

func InstallOnGroup

func InstallOnGroup(s *server.Server, g *echo.Group)

InstallOnGroup binds urls to handlers for the todo package

Types

This section is empty.

Jump to

Keyboard shortcuts

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