MCPcopy Create free account

hub / github.com/PacktPublishing/Building-Microservices-with-Go-Second-Edition / functions

Functions488 in github.com/PacktPublishing/Building-Microservices-with-Go-Second-Edition

↓ 1 callersFunctionNewUpdateUnprocessableEntity
NewUpdateUnprocessableEntity creates a UpdateUnprocessableEntity with default headers values
product-api/10_CORS/client-sdk/client/products/update_responses.go:106
↓ 1 callersFunctionNewWrappedResponseWriter
NewWrappedResponseWriter returns a new wrapped response writer
product-images/3_final/handlers/middleware.go:73
↓ 1 callersFunctionNewWrappedResponseWriter
NewWrappedResponseWriter returns a new wrapped response writer
product-images/2_download/handlers/middleware.go:71
↓ 1 callersMethodSetBody
SetBody adds the body to the create params
product-api/9_docs/client-sdk/client/products/create_parameters.go:118
↓ 1 callersMethodSetBody
SetBody adds the body to the update params
product-api/9_docs/client-sdk/client/products/update_parameters.go:118
↓ 1 callersMethodSetBody
SetBody adds the body to the create params
product-api/10_CORS/client-sdk/client/products/create_parameters.go:118
↓ 1 callersMethodSetBody
SetBody adds the body to the update params
product-api/10_CORS/client-sdk/client/products/update_parameters.go:118
↓ 1 callersMethodSetContext
SetContext adds the context to the delete params
product-api/9_docs/client-sdk/client/products/delete_parameters.go:94
↓ 1 callersMethodSetContext
SetContext adds the context to the list all params
product-api/9_docs/client-sdk/client/products/list_all_parameters.go:86
↓ 1 callersMethodSetContext
SetContext adds the context to the create params
product-api/9_docs/client-sdk/client/products/create_parameters.go:96
↓ 1 callersMethodSetContext
SetContext adds the context to the list single params
product-api/9_docs/client-sdk/client/products/list_single_parameters.go:94
↓ 1 callersMethodSetContext
SetContext adds the context to the update params
product-api/9_docs/client-sdk/client/products/update_parameters.go:96
↓ 1 callersMethodSetContext
SetContext adds the context to the delete params
product-api/10_CORS/client-sdk/client/products/delete_parameters.go:94
↓ 1 callersMethodSetContext
SetContext adds the context to the list all params
product-api/10_CORS/client-sdk/client/products/list_all_parameters.go:86
↓ 1 callersMethodSetContext
SetContext adds the context to the create params
product-api/10_CORS/client-sdk/client/products/create_parameters.go:96
↓ 1 callersMethodSetContext
SetContext adds the context to the list single params
product-api/10_CORS/client-sdk/client/products/list_single_parameters.go:94
↓ 1 callersMethodSetContext
SetContext adds the context to the update params
product-api/10_CORS/client-sdk/client/products/update_parameters.go:96
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the delete params
product-api/9_docs/client-sdk/client/products/delete_parameters.go:105
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the list all params
product-api/9_docs/client-sdk/client/products/list_all_parameters.go:97
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the create params
product-api/9_docs/client-sdk/client/products/create_parameters.go:107
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the list single params
product-api/9_docs/client-sdk/client/products/list_single_parameters.go:105
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the update params
product-api/9_docs/client-sdk/client/products/update_parameters.go:107
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the delete params
product-api/10_CORS/client-sdk/client/products/delete_parameters.go:105
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the list all params
product-api/10_CORS/client-sdk/client/products/list_all_parameters.go:97
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the create params
product-api/10_CORS/client-sdk/client/products/create_parameters.go:107
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the list single params
product-api/10_CORS/client-sdk/client/products/list_single_parameters.go:105
↓ 1 callersMethodSetHTTPClient
SetHTTPClient adds the HTTPClient to the update params
product-api/10_CORS/client-sdk/client/products/update_parameters.go:107
↓ 1 callersMethodSetID
SetID adds the id to the delete params
product-api/9_docs/client-sdk/client/products/delete_parameters.go:116
↓ 1 callersMethodSetID
SetID adds the id to the list single params
product-api/9_docs/client-sdk/client/products/list_single_parameters.go:116
↓ 1 callersMethodSetID
SetID adds the id to the delete params
product-api/10_CORS/client-sdk/client/products/delete_parameters.go:116
↓ 1 callersMethodSetID
SetID adds the id to the list single params
product-api/10_CORS/client-sdk/client/products/list_single_parameters.go:116
↓ 1 callersFunctionToJSON
ToJSON serializes the given interface into a string based JSON format
product-api/9_docs/data/json.go:9
↓ 1 callersFunctionToJSON
ToJSON serializes the given interface into a string based JSON format
product-api/10_CORS/data/json.go:9
↓ 1 callersMethodWithContext
WithContext adds the context to the delete params
product-api/9_docs/client-sdk/client/products/delete_parameters.go:88
↓ 1 callersMethodWithContext
WithContext adds the context to the delete params
product-api/10_CORS/client-sdk/client/products/delete_parameters.go:88
↓ 1 callersMethodWithHost
WithHost overrides the default host, provided by the meta section of the spec file.
product-api/9_docs/client-sdk/client/of_product_client.go:83
↓ 1 callersMethodWithHost
WithHost overrides the default host, provided by the meta section of the spec file.
product-api/10_CORS/client-sdk/client/of_product_client.go:83
↓ 1 callersMethodWithTimeout
WithTimeout adds the timeout to the delete params
product-api/10_CORS/client-sdk/client/products/delete_parameters.go:77
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl, config)
frontend/src/serviceWorker.js:101
↓ 1 callersMethoddelete
(rw http.ResponseWriter, r *http.Request)
product-api/6_REST/handlers/products.go:143
↓ 1 callersMethodfullPath
returns the absolute path
product-images/1_restful/files/local.go:70
↓ 1 callersMethodfullPath
returns the absolute path
product-images/2_download/files/local.go:70
↓ 1 callersMethodgetAll
getAll handles HTTP GET requests for the products returning all products
product-api/6_REST/handlers/products.go:91
↓ 1 callersFunctiongetProductID
getProductID returns the product ID from the URL
product-api/7_Gorilla/handlers/products.go:33
↓ 1 callersFunctiongetProductID
getProductID returns the product ID from the URL
product-api/8_validation/handlers/products.go:33
↓ 1 callersMethodgetSingle
getSingle handles HTTP GET requests for the products returning a single product
product-api/6_REST/handlers/products.go:76
↓ 1 callersMethodput
(rw http.ResponseWriter, r *http.Request)
product-api/6_REST/handlers/products.go:101
↓ 1 callersMethodreadResponse
(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry)
product-api/9_docs/client-sdk/client/products/list_all_responses.go:60
↓ 1 callersMethodreadResponse
(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry)
product-api/10_CORS/client-sdk/client/products/list_all_responses.go:60
↓ 1 callersMethodrender
()
frontend/src/Toast.js:22
↓ 1 callersMethodsaveFile
(id, name string, rw http.ResponseWriter, r io.ReadCloser)
product-images/1_restful/handlers/files.go:47
↓ 1 callersMethodsaveFile
(id, name string, rw http.ResponseWriter, r io.ReadCloser)
product-images/2_download/handlers/files.go:47
↓ 1 callersMethodvalidateDescription
(formats strfmt.Registry)
product-api/9_docs/client-sdk/models/product.go:74
↓ 1 callersMethodvalidateDescription
(formats strfmt.Registry)
product-api/10_CORS/client-sdk/models/product.go:74
↓ 1 callersMethodvalidateID
(formats strfmt.Registry)
product-api/9_docs/client-sdk/models/product.go:87
↓ 1 callersMethodvalidateID
(formats strfmt.Registry)
product-api/10_CORS/client-sdk/models/product.go:87
↓ 1 callersMethodvalidateName
(formats strfmt.Registry)
product-api/9_docs/client-sdk/models/product.go:100
↓ 1 callersMethodvalidateName
(formats strfmt.Registry)
product-api/10_CORS/client-sdk/models/product.go:100
↓ 1 callersMethodvalidatePrice
(formats strfmt.Registry)
product-api/9_docs/client-sdk/models/product.go:113
↓ 1 callersMethodvalidatePrice
(formats strfmt.Registry)
product-api/10_CORS/client-sdk/models/product.go:113
↓ 1 callersMethodvalidateSKU
(formats strfmt.Registry)
product-api/9_docs/client-sdk/models/product.go:130
↓ 1 callersMethodvalidateSKU
(formats strfmt.Registry)
product-api/10_CORS/client-sdk/models/product.go:130
FunctionAddProduct
AddProduct adds a new product to the database
product-api/9_docs/data/products.go:83
FunctionAddProduct
AddProduct adds a new product to the database
product-api/7_Gorilla/data/products.go:56
FunctionAddProduct
AddProduct adds a new product to the database
product-api/10_CORS/data/products.go:83
FunctionAddProduct
AddProduct adds a new product to the database
product-api/6_REST/data/products.go:71
FunctionAddProduct
AddProduct adds a new product to the database
product-api/8_validation/data/products.go:79
MethodCheckContentLengthMiddleware
CheckContentLengthMiddleware ensures that the content length is not greater than our allowed max. This can not be 100% depended on as Content-Length m
product-images/1_restful/handlers/middleware.go:23
MethodCheckContentLengthMiddleware
CheckContentLengthMiddleware ensures that the content length is not greater than our allowed max. This can not be 100% depended on as Content-Length m
product-images/3_final/handlers/middleware.go:26
MethodCheckContentLengthMiddleware
CheckContentLengthMiddleware ensures that the content length is not greater than our allowed max. This can not be 100% depended on as Content-Length m
product-images/2_download/handlers/middleware.go:26
MethodCreate
(params *CreateParams)
product-api/9_docs/client-sdk/client/products/products_client.go:30
MethodCreate
* Create Create a new product */
product-api/9_docs/client-sdk/client/products/products_client.go:46
MethodCreate
swagger:route POST /products products create Create a new product responses: 200: productResponse 422: errorValidation 501: errorResponse Create han
product-api/9_docs/handlers/post.go:18
MethodCreate
* Create Create a new product */
product-api/10_CORS/client-sdk/client/products/products_client.go:46
MethodCreate
swagger:route POST /products products create Create a new product responses: 200: productResponse 422: errorValidation 501: errorResponse Create han
product-api/10_CORS/handlers/post.go:18
MethodCreateProduct
CreateProduct handles post requests to add new products
product-api/7_Gorilla/handlers/products.go:114
MethodCreateProduct
CreateProduct handles post requests to add new products
product-api/8_validation/handlers/products.go:114
MethodDelete
(params *DeleteParams)
product-api/9_docs/client-sdk/client/products/products_client.go:32
MethodDelete
* Delete Update a products details */
product-api/9_docs/client-sdk/client/products/products_client.go:80
MethodDelete
swagger:route DELETE /products/{id} products delete Update a products details responses: 201: noContentResponse 404: errorResponse 501: errorRespons
product-api/9_docs/handlers/delete.go:18
MethodDelete
(params *DeleteParams)
product-api/10_CORS/client-sdk/client/products/products_client.go:32
MethodDelete
* Delete Update a products details */
product-api/10_CORS/client-sdk/client/products/products_client.go:80
MethodDelete
swagger:route DELETE /products/{id} products delete Update a products details responses: 201: noContentResponse 404: errorResponse 501: errorRespons
product-api/10_CORS/handlers/delete.go:18
FunctionDeleteProduct
DeleteProduct deletes a product from the database
product-api/9_docs/data/products.go:91
FunctionDeleteProduct
DeleteProduct deletes a product from the database
product-api/10_CORS/data/products.go:91
FunctionDeleteProduct
DeleteProduct deletes a product from the database If a product with the given id does not exist in the database this function returns a ProductNotFoun
product-api/6_REST/data/products.go:83
MethodError
()
product-api/9_docs/client-sdk/client/products/list_all_responses.go:52
MethodError
()
product-api/9_docs/client-sdk/client/products/delete_responses.go:63
MethodError
()
product-api/9_docs/client-sdk/client/products/delete_responses.go:85
MethodError
()
product-api/9_docs/client-sdk/client/products/delete_responses.go:118
MethodError
()
product-api/9_docs/client-sdk/client/products/create_responses.go:64
MethodError
()
product-api/9_docs/client-sdk/client/products/create_responses.go:97
MethodError
()
product-api/9_docs/client-sdk/client/products/create_responses.go:130
MethodError
()
product-api/9_docs/client-sdk/client/products/list_single_responses.go:58
MethodError
()
product-api/9_docs/client-sdk/client/products/list_single_responses.go:91
MethodError
()
product-api/9_docs/client-sdk/client/products/update_responses.go:63
MethodError
()
product-api/9_docs/client-sdk/client/products/update_responses.go:85
MethodError
()
product-api/9_docs/client-sdk/client/products/update_responses.go:118
MethodError
()
product-api/10_CORS/client-sdk/client/products/list_all_responses.go:52
MethodError
()
product-api/10_CORS/client-sdk/client/products/delete_responses.go:63
← previousnext →101–200 of 488, ranked by callers