Documentation ¶
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
}
Products is a http.Handler
func NewProducts ¶
NewProducts creates a products handler with the given logger
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)
func (Products) MiddlewareValidateProduct ¶
func (Products) UpdateProducts ¶
func (p Products) UpdateProducts(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.