Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = typesrest.NewRelativeEndpoint() ByCartId = typesrest.NewRelativeEndpoint(typesrest.CartId) TotalByCartId = typesrest.NewEndpoint("total", typesrest.CartId) )
Orders service carts REST endpoints
View Source
var ( GetCartsMapper = typesrest.NewMapper(Relative, grpcorder.GetCarts) GetCartMapper = typesrest.NewMapper(ByCartId, grpcorder.GetCart) GetCartTotalMapper = typesrest.NewMapper(TotalByCartId, grpcorder.GetCartTotal) )
Order service carts endpoints mapping
View Source
var Base = typesrest.NewBaseEndpoint("carts")
Base is the base endpoint for the orders service carts REST endpoints
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.