Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductAPI ¶
ProductAPI is data structure hold the static data
func (*ProductAPI) GetAllProductsHandler ¶
func (p *ProductAPI) GetAllProductsHandler(res http.ResponseWriter, req *http.Request)
func (*ProductAPI) GetProductHandler ¶
func (p *ProductAPI) GetProductHandler(res http.ResponseWriter, req *http.Request)
func (*ProductAPI) SearchProductHandler ¶
func (p *ProductAPI) SearchProductHandler(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.