Documentation ¶
Index ¶
- func CreateProduct(w http.ResponseWriter, r *http.Request, params httprouter.Params)
- func DeleteProduct(w http.ResponseWriter, r *http.Request, params httprouter.Params)
- func GetProduct(w http.ResponseWriter, r *http.Request, params httprouter.Params)
- func GetProducts(w http.ResponseWriter, r *http.Request, params httprouter.Params)
- func NewRouter() *httprouter.Router
- func UpdateProduct(w http.ResponseWriter, r *http.Request, params httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProduct ¶
func CreateProduct(w http.ResponseWriter, r *http.Request, params httprouter.Params)
func DeleteProduct ¶
func DeleteProduct(w http.ResponseWriter, r *http.Request, params httprouter.Params)
func GetProduct ¶
func GetProduct(w http.ResponseWriter, r *http.Request, params httprouter.Params)
func GetProducts ¶
func GetProducts(w http.ResponseWriter, r *http.Request, params httprouter.Params)
func NewRouter ¶
func NewRouter() *httprouter.Router
func UpdateProduct ¶
func UpdateProduct(w http.ResponseWriter, r *http.Request, params httprouter.Params)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.