Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = typesrest.NewRelativeEndpoint() ByBranchId = typesrest.NewRelativeEndpoint(typesrest.BranchId) ByBusinessId = typesrest.NewEndpoint("business-id", typesrest.BusinessId) CloseTemporarilyByBranchId = typesrest.NewEndpoint("close-temporarily", typesrest.BranchId) OpenByBranchId = typesrest.NewEndpoint("open", typesrest.BranchId) )
Shop service branches REST endpoints
View Source
var ( AddBranchMapper = typesrest.NewMapper(Relative, grpcshop.AddBranch) GetBranchMapper = typesrest.NewMapper(ByBranchId, grpcshop.GetBranch) GetBusinessBranchesMapper = typesrest.NewMapper(ByBusinessId, grpcshop.GetBusinessBranches) UpdateBranchMapper = typesrest.NewMapper(ByBranchId, grpcshop.UpdateBranch) CloseTemporarilyBranchMapper = typesrest.NewMapper(CloseTemporarilyByBranchId, grpcshop.CloseTemporarilyBranch) OpenBranchMapper = typesrest.NewMapper(OpenByBranchId, grpcshop.OpenBranch) DeleteBranchMapper = typesrest.NewMapper(ByBranchId, grpcshop.DeleteBranch) )
Shop service branches endpoints mapping
View Source
var Base = typesrest.NewBaseEndpoint("branches")
Base is the base endpoint for the shop service branches REST endpoints
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.