Documentation
¶
Index ¶
- func DeleteToDoByID(w http.ResponseWriter, r *http.Request)
- func FetchToDoAll(w http.ResponseWriter, r *http.Request)
- func FetchToDoByID(w http.ResponseWriter, r *http.Request)
- func InsertToDoHandler(w http.ResponseWriter, r *http.Request)
- func UpdateCompletedToDoHandler(w http.ResponseWriter, r *http.Request)
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.
Click to show internal directories.
Click to hide internal directories.