todo

package
v0.0.0-...-9d2db95 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteToDoByID

func DeleteToDoByID(w http.ResponseWriter, r *http.Request)

DeleteToDoByID DELETE /todo/{id} deletes todo by id

func FetchToDoAll

func FetchToDoAll(w http.ResponseWriter, r *http.Request)

InsertToDoHandler GET /todos fetches all todos

func FetchToDoByID

func FetchToDoByID(w http.ResponseWriter, r *http.Request)

FetchToDoByID GET /todo/{id} fetches todo by id

func InsertToDoHandler

func InsertToDoHandler(w http.ResponseWriter, r *http.Request)

InsertToDoHandler POST /todo inserts a new ToDo

func UpdateCompletedToDoHandler

func UpdateCompletedToDoHandler(w http.ResponseWriter, r *http.Request)

UpdateCompletedToDoHandler PUT /todo/{id} updates a todo completed

Types

This section is empty.

Jump to

Keyboard shortcuts

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