handlers

package
v0.0.0-...-bc04603 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCategory

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

func AddProduct

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

func AddUser

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

func DeleteCategory

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

func DeleteProduct

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

func DeleteUser

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

func GetAllCategory

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

func GetAllProducts

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

func GetAllUsers

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

func GetCategoryById

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

func GetProductById

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

func GetUserById

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

func IndexRouting

func IndexRouting() *mux.Router

func UpdateCategory

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

func UpdateProduct

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

func UpdateUser

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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