# Functions
No description provided by the author
No description provided by the author
NewGetProduct creates a new http.Handler for the get product operation.
NewGetProductBadRequest creates GetProductBadRequest with default headers values.
NewGetProductOK creates GetProductOK with default headers values.
NewGetProductParams creates a new GetProductParams object
There are no default values defined in the spec.
NewListProductsV1 creates a new http.Handler for the list products v1 operation.
NewListProductsV1BadRequest creates ListProductsV1BadRequest with default headers values.
NewListProductsV1OK creates ListProductsV1OK with default headers values.
NewListProductsV1Params creates a new ListProductsV1Params object with the default values initialized.
# Constants
GetProductBadRequestCode is the HTTP code returned for type GetProductBadRequest.
GetProductOKCode is the HTTP code returned for type GetProductOK.
ListProductsV1BadRequestCode is the HTTP code returned for type ListProductsV1BadRequest.
ListProductsV1OKCode is the HTTP code returned for type ListProductsV1OK.
# Structs
GetProduct swagger:route GET /v1/products/{product_id} product getProduct
Карточка товара
*/.
GetProductBadRequest Bad Request
swagger:response getProductBadRequest
*/.
No description provided by the author
GetProductOK OK
swagger:response getProductOK
*/.
GetProductParams contains all the bound params for the get product operation typically these are obtained from a http.Request
swagger:parameters get_product.
GetProductURL generates an URL for the get product operation.
ListProductsV1 swagger:route GET /v1/products product listProductsV1
Список товаров
*/.
ListProductsV1BadRequest Bad Request
swagger:response listProductsV1BadRequest
*/.
No description provided by the author
ListProductsV1OK OK
swagger:response listProductsV1OK
*/.
ListProductsV1Params contains all the bound params for the list products v1 operation typically these are obtained from a http.Request
swagger:parameters list_products_v1.
ListProductsV1URL generates an URL for the list products v1 operation.
# Interfaces
GetProductHandler interface for that can handle valid get product params.
No description provided by the author
ListProductsV1Handler interface for that can handle valid list products v1 params.
No description provided by the author
# Type aliases
GetProductHandlerFunc turns a function with the right signature into a get product handler.
ListProductsV1HandlerFunc turns a function with the right signature into a list products v1 handler.