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

MethodError
()
product-api/10_CORS/client-sdk/client/products/delete_responses.go:85
MethodError
()
product-api/10_CORS/client-sdk/client/products/delete_responses.go:118
MethodError
()
product-api/10_CORS/client-sdk/client/products/create_responses.go:64
MethodError
()
product-api/10_CORS/client-sdk/client/products/create_responses.go:97
MethodError
()
product-api/10_CORS/client-sdk/client/products/create_responses.go:130
MethodError
()
product-api/10_CORS/client-sdk/client/products/list_single_responses.go:58
MethodError
()
product-api/10_CORS/client-sdk/client/products/list_single_responses.go:91
MethodError
()
product-api/10_CORS/client-sdk/client/products/update_responses.go:63
MethodError
()
product-api/10_CORS/client-sdk/client/products/update_responses.go:85
MethodError
()
product-api/10_CORS/client-sdk/client/products/update_responses.go:118
FunctionFromJSON
FromJSON deserializes the object from JSON string in an io.Reader to the given interface
product-api/9_docs/data/json.go:17
FunctionFromJSON
FromJSON deserializes the object from JSON string in an io.Reader to the given interface
product-api/7_Gorilla/data/json.go:17
FunctionFromJSON
FromJSON deserializes the object from JSON string in an io.Reader to the given interface
product-api/10_CORS/data/json.go:17
FunctionFromJSON
FromJSON deserializes the object from JSON string in an io.Reader
product-api/6_REST/data/products.go:26
FunctionFromJSON
FromJSON deserializes the object from JSON string in an io.Reader to the given interface
product-api/8_validation/data/json.go:17
MethodGZipResponseMiddleware
GZipResponseMiddleware detects if the client can handle zipped content and if so returns the response in GZipped format
product-images/3_final/handlers/middleware.go:40
MethodGZipResponseMiddleware
GZipResponseMiddleware detects if the client can handle zipped content and if so returns the response in GZipped format
product-images/2_download/handlers/middleware.go:40
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/list_all_responses.go:56
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/delete_responses.go:89
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/delete_responses.go:122
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/create_responses.go:101
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/create_responses.go:134
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/list_single_responses.go:62
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/list_single_responses.go:95
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/update_responses.go:89
MethodGetPayload
()
product-api/9_docs/client-sdk/client/products/update_responses.go:122
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/list_all_responses.go:56
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/delete_responses.go:89
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/delete_responses.go:122
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/create_responses.go:101
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/create_responses.go:134
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/list_single_responses.go:62
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/list_single_responses.go:95
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/update_responses.go:89
MethodGetPayload
()
product-api/10_CORS/client-sdk/client/products/update_responses.go:122
FunctionGetProductByID
GetProductByID returns a single product which matches the id from the database. If a product is not found this function returns a ProductNotFound erro
product-api/9_docs/data/products.go:57
FunctionGetProductByID
GetProductByID returns a single product which matches the id from the database. If a product is not found this function returns a ProductNotFound erro
product-api/7_Gorilla/data/products.go:30
FunctionGetProductByID
GetProductByID returns a single product which matches the id from the database. If a product is not found this function returns a ProductNotFound erro
product-api/10_CORS/data/products.go:57
FunctionGetProductByID
GetProductByID returns a single product which matches the id from the database. If a product is not found this function returns a ProductNotFound erro
product-api/6_REST/data/products.go:45
FunctionGetProductByID
GetProductByID returns a single product which matches the id from the database. If a product is not found this function returns a ProductNotFound erro
product-api/8_validation/data/products.go:53
FunctionGetProducts
GetProducts returns all products from the database
product-api/9_docs/data/products.go:50
FunctionGetProducts
GetProducts returns all products from the database
product-api/7_Gorilla/data/products.go:23
FunctionGetProducts
GetProducts returns all products from the database
product-api/10_CORS/data/products.go:50
FunctionGetProducts
GetProducts returns all products from the database
product-api/6_REST/data/products.go:38
FunctionGetProducts
GetProducts returns all products from the database
product-api/8_validation/data/products.go:46
MethodListAll
(params *ListAllParams)
product-api/9_docs/client-sdk/client/products/products_client.go:34
MethodListAll
* ListAll Return a list of products from the database */
product-api/9_docs/client-sdk/client/products/products_client.go:114
MethodListAll
swagger:route GET /products products listAll Return a list of products from the database responses: 200: productsResponse ListAll handles GET request
product-api/9_docs/handlers/get.go:15
MethodListAll
* ListAll Return a list of products from the database */
product-api/10_CORS/client-sdk/client/products/products_client.go:114
MethodListAll
swagger:route GET /products products listAll Return a list of products from the database responses: 200: productsResponse ListAll handles GET request
product-api/10_CORS/handlers/get.go:15
MethodListProducts
ListProducts handles HTTP GET requests for the products
product-api/7_Gorilla/handlers/products.go:48
MethodListProducts
ListProducts handles HTTP GET requests for the products
product-api/8_validation/handlers/products.go:48
MethodListSingle
(params *ListSingleParams)
product-api/9_docs/client-sdk/client/products/products_client.go:36
MethodListSingle
* ListSingle Return a list of products from the database */
product-api/9_docs/client-sdk/client/products/products_client.go:148
MethodListSingle
swagger:route GET /products/{id} products listSingle Return a list of products from the database responses: 200: productResponse 404: errorResponse
product-api/9_docs/handlers/get.go:34
MethodListSingle
ListSingle handles GET requests
product-api/7_Gorilla/handlers/products.go:61
MethodListSingle
(params *ListSingleParams)
product-api/10_CORS/client-sdk/client/products/products_client.go:36
MethodListSingle
* ListSingle Return a list of products from the database */
product-api/10_CORS/client-sdk/client/products/products_client.go:148
MethodListSingle
swagger:route GET /products/{id} products listSingle Return a list of products from the database responses: 200: productResponse 404: errorResponse
product-api/10_CORS/handlers/get.go:34
MethodListSingle
ListSingle handles GET requests
product-api/8_validation/handlers/products.go:61
MethodMarshalBinary
MarshalBinary interface implementation
product-api/9_docs/client-sdk/models/generic_error.go:27
MethodMarshalBinary
MarshalBinary interface implementation
product-api/9_docs/client-sdk/models/validation_error.go:27
MethodMarshalBinary
MarshalBinary interface implementation
product-api/9_docs/client-sdk/models/product.go:144
MethodMarshalBinary
MarshalBinary interface implementation
product-api/10_CORS/client-sdk/models/generic_error.go:27
MethodMarshalBinary
MarshalBinary interface implementation
product-api/10_CORS/client-sdk/models/validation_error.go:27
MethodMarshalBinary
MarshalBinary interface implementation
product-api/10_CORS/client-sdk/models/product.go:144
MethodMiddlewareContentType
MiddlewareContentType is a convenience handler for adding the application/json content type to every response
product-api/9_docs/handlers/middleware.go:46
MethodMiddlewareContentType
MiddlewareContentType is a convenience handler for adding the application/json content type to every response
product-api/10_CORS/handlers/middleware.go:46
MethodMiddlewareValidateProduct
MiddlewareValidateProduct validates the product in the request and calls next if ok
product-api/9_docs/handlers/middleware.go:11
MethodMiddlewareValidateProduct
MiddlewareValidateProduct validates the product in the request and calls next if ok
product-api/7_Gorilla/handlers/products.go:122
MethodMiddlewareValidateProduct
MiddlewareValidateProduct validates the product in the request and calls next if ok
product-api/10_CORS/handlers/middleware.go:11
MethodMiddlewareValidateProduct
MiddlewareValidateProduct validates the product in the request and calls next if ok
product-api/8_validation/handlers/products.go:122
FunctionNew
New creates a new products API client.
product-api/9_docs/client-sdk/client/products/products_client.go:16
FunctionNew
New creates a new products API client.
product-api/10_CORS/client-sdk/client/products/products_client.go:16
FunctionNewCreateParamsWithContext
NewCreateParamsWithContext creates a new CreateParams object with the default values initialized, and the ability to set a context for a request
product-api/9_docs/client-sdk/client/products/create_parameters.go:44
FunctionNewCreateParamsWithContext
NewCreateParamsWithContext creates a new CreateParams object with the default values initialized, and the ability to set a context for a request
product-api/10_CORS/client-sdk/client/products/create_parameters.go:44
FunctionNewCreateParamsWithHTTPClient
NewCreateParamsWithHTTPClient creates a new CreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a
product-api/9_docs/client-sdk/client/products/create_parameters.go:54
FunctionNewCreateParamsWithHTTPClient
NewCreateParamsWithHTTPClient creates a new CreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a
product-api/10_CORS/client-sdk/client/products/create_parameters.go:54
FunctionNewCreateParamsWithTimeout
NewCreateParamsWithTimeout creates a new CreateParams object with the default values initialized, and the ability to set a timeout on a request
product-api/9_docs/client-sdk/client/products/create_parameters.go:34
FunctionNewCreateParamsWithTimeout
NewCreateParamsWithTimeout creates a new CreateParams object with the default values initialized, and the ability to set a timeout on a request
product-api/10_CORS/client-sdk/client/products/create_parameters.go:34
FunctionNewDeleteParamsWithContext
NewDeleteParamsWithContext creates a new DeleteParams object with the default values initialized, and the ability to set a context for a request
product-api/9_docs/client-sdk/client/products/delete_parameters.go:43
FunctionNewDeleteParamsWithContext
NewDeleteParamsWithContext creates a new DeleteParams object with the default values initialized, and the ability to set a context for a request
product-api/10_CORS/client-sdk/client/products/delete_parameters.go:43
FunctionNewDeleteParamsWithHTTPClient
NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a
product-api/9_docs/client-sdk/client/products/delete_parameters.go:53
FunctionNewDeleteParamsWithHTTPClient
NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a
product-api/10_CORS/client-sdk/client/products/delete_parameters.go:53
FunctionNewDeleteParamsWithTimeout
NewDeleteParamsWithTimeout creates a new DeleteParams object with the default values initialized, and the ability to set a timeout on a request
product-api/9_docs/client-sdk/client/products/delete_parameters.go:33
FunctionNewDeleteParamsWithTimeout
NewDeleteParamsWithTimeout creates a new DeleteParams object with the default values initialized, and the ability to set a timeout on a request
product-api/10_CORS/client-sdk/client/products/delete_parameters.go:33
FunctionNewFiles
NewFiles creates a new File handler
product-images/1_restful/handlers/files.go:22
FunctionNewFiles
NewFiles creates a new File handler
product-images/3_final/handlers/files.go:23
FunctionNewFiles
NewFiles creates a new File handler
product-images/2_download/handlers/files.go:22
FunctionNewGoodbye
NewHGoodbye creates a new goodbye handler with the given logger
product-api/4_handlers/handlers/goodbye.go:15
FunctionNewGoodbye
NewHGoodbye creates a new goodbye handler with the given logger
product-api/5_pattern/handlers/goodbye.go:15
FunctionNewHello
NewHello creates a new hello handler with the given logger
product-api/4_handlers/handlers/hello.go:16
FunctionNewHello
NewHello creates a new hello handler with the given logger
product-api/5_pattern/handlers/hello.go:16
FunctionNewListAllParamsWithContext
NewListAllParamsWithContext creates a new ListAllParams object with the default values initialized, and the ability to set a context for a request
product-api/9_docs/client-sdk/client/products/list_all_parameters.go:42
FunctionNewListAllParamsWithContext
NewListAllParamsWithContext creates a new ListAllParams object with the default values initialized, and the ability to set a context for a request
product-api/10_CORS/client-sdk/client/products/list_all_parameters.go:42
FunctionNewListAllParamsWithHTTPClient
NewListAllParamsWithHTTPClient creates a new ListAllParams object with the default values initialized, and the ability to set a custom HTTPClient for
product-api/9_docs/client-sdk/client/products/list_all_parameters.go:52
FunctionNewListAllParamsWithHTTPClient
NewListAllParamsWithHTTPClient creates a new ListAllParams object with the default values initialized, and the ability to set a custom HTTPClient for
product-api/10_CORS/client-sdk/client/products/list_all_parameters.go:52
FunctionNewListAllParamsWithTimeout
NewListAllParamsWithTimeout creates a new ListAllParams object with the default values initialized, and the ability to set a timeout on a request
product-api/9_docs/client-sdk/client/products/list_all_parameters.go:32
FunctionNewListAllParamsWithTimeout
NewListAllParamsWithTimeout creates a new ListAllParams object with the default values initialized, and the ability to set a timeout on a request
product-api/10_CORS/client-sdk/client/products/list_all_parameters.go:32
FunctionNewListSingleParamsWithContext
NewListSingleParamsWithContext creates a new ListSingleParams object with the default values initialized, and the ability to set a context for a reque
product-api/9_docs/client-sdk/client/products/list_single_parameters.go:43
← previousnext →201–300 of 488, ranked by callers