controllers

package
v0.0.0-...-a52af21 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTodo

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

Create todo

func DeleteCompleted

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

Delete completed todos

func DeleteOneTodo

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

Delete One Todo

func FetchTodos

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

Fetch all todos

func HomeHandler

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

Home Handler

func UpdateTodo

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

Update todo

Types

This section is empty.

Jump to

Keyboard shortcuts

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