Documentation ¶
Overview ¶
Package classification Product API
Documentation for Product API
Schemes: http BasePath: / Version: 0.0.1 Consumes: - application/json Produces: - application/json
swagger:meta
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyProduct ¶
type KeyProduct struct{}
type Products ¶
type Products struct {
// contains filtered or unexported fields
}
func NewProducts ¶
func (*Products) AddProduct ¶
func (p *Products) AddProduct(rw http.ResponseWriter, r *http.Request)
func (*Products) GetProducts ¶
func (p *Products) GetProducts(rw http.ResponseWriter, r *http.Request)
GetProducts returns the products from the data store.
func (Products) MiddlewareProductValidation ¶
func (Products) UpdateProducts ¶
func (p Products) UpdateProducts(rw http.ResponseWriter, r *http.Request)
UpdateProducts returns the updated products from the data store.
Click to show internal directories.
Click to hide internal directories.