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) ActivateByBranchId = typesrest.NewEndpoint("activate", typesrest.BranchId) SuspendByBranchId = typesrest.NewEndpoint("suspend", 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) SuspendBranchMapper = typesrest.NewMapper(SuspendByBranchId, grpcshop.SuspendBranch) ActivateBranchMapper = typesrest.NewMapper(ActivateByBranchId, grpcshop.ActivateBranch) 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.