Documentation
¶
Index ¶
- func CreateNewTodoEndPoint(res http.ResponseWriter, req *http.Request)
- func DeleteTodoEndPoint(res http.ResponseWriter, req *http.Request)
- func IndexEndPoint(res http.ResponseWriter, req *http.Request)
- func TimeSpentEndPoint(res http.ResponseWriter, req *http.Request)
- func TodoDetailEndPoint(res http.ResponseWriter, req *http.Request)
- func UpdateTodoEndPoint(res http.ResponseWriter, req *http.Request)
- type IndexPageData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewTodoEndPoint ¶
func CreateNewTodoEndPoint(res http.ResponseWriter, req *http.Request)
CreateNewTodoEndPoint to create a new Todo
func DeleteTodoEndPoint ¶
func DeleteTodoEndPoint(res http.ResponseWriter, req *http.Request)
DeleteTodoEndPoint to delete a Todo from the database
func IndexEndPoint ¶
func IndexEndPoint(res http.ResponseWriter, req *http.Request)
IndexEndPoint for the home/index page
func TimeSpentEndPoint ¶
func TimeSpentEndPoint(res http.ResponseWriter, req *http.Request)
TimeSpentEndPoint add timepent to a givent Todo
func TodoDetailEndPoint ¶
func TodoDetailEndPoint(res http.ResponseWriter, req *http.Request)
TodoDetailEndPoint to show the details of a Todo
func UpdateTodoEndPoint ¶
func UpdateTodoEndPoint(res http.ResponseWriter, req *http.Request)
UpdateTodoEndPoint to update the Todo
Types ¶
type IndexPageData ¶
IndexPageData the list of Todos to display on the index page
Click to show internal directories.
Click to hide internal directories.