Documentation ¶
Index ¶
- func Init(s micro.Service, c *dig.Container) error
- type AncestorHandler
- type AncestorManagerHandler
- func (h *AncestorManagerHandler) Create(ctx context.Context, req *rpc_ancestor_manager.CreateAncestorManagerRequest, ...) error
- func (h *AncestorManagerHandler) Delete(ctx context.Context, req *rpc_ancestor_manager.DeleteAncestorManagerRequest, ...) error
- func (h *AncestorManagerHandler) Get(ctx context.Context, req *rpc_ancestor_manager.GetAncestorManagerRequest, ...) error
- func (h *AncestorManagerHandler) Paginate(ctx context.Context, req *rpc_ancestor_manager.PaginateAncestorManagerRequest, ...) error
- func (h *AncestorManagerHandler) Update(ctx context.Context, req *rpc_ancestor_manager.UpdateAncestorManagerRequest, ...) error
- type AttributeHandler
- type AttributeManagerHandler
- func (h *AttributeManagerHandler) Create(ctx context.Context, req *rpc_attribute_manager.CreateAttributeManagerRequest, ...) error
- func (h *AttributeManagerHandler) Delete(ctx context.Context, req *rpc_attribute_manager.DeleteAttributeManagerRequest, ...) error
- func (h *AttributeManagerHandler) Get(ctx context.Context, req *rpc_attribute_manager.GetAttributeManagerRequest, ...) error
- func (h *AttributeManagerHandler) Paginate(ctx context.Context, ...) error
- func (h *AttributeManagerHandler) Update(ctx context.Context, req *rpc_attribute_manager.UpdateAttributeManagerRequest, ...) error
- type BuyerHandler
- type BuyerManagerHandler
- func (h *BuyerManagerHandler) Create(ctx context.Context, req *rpc_buyer_manager.CreateBuyerManagerRequest, ...) error
- func (h *BuyerManagerHandler) Delete(ctx context.Context, req *rpc_buyer_manager.DeleteBuyerManagerRequest, ...) error
- func (h *BuyerManagerHandler) Get(ctx context.Context, req *rpc_buyer_manager.GetBuyerManagerRequest, ...) error
- func (h *BuyerManagerHandler) Paginate(ctx context.Context, req *rpc_buyer_manager.PaginateBuyerManagerRequest, ...) error
- func (h *BuyerManagerHandler) Search(ctx context.Context, req *rpc_buyer_manager.SearchBuyerManagerRequest, ...) error
- func (h *BuyerManagerHandler) SearchByPhone(ctx context.Context, req *rpc_buyer_manager.SearchByPhoneManagerRequest, ...) error
- func (h *BuyerManagerHandler) Update(ctx context.Context, req *rpc_buyer_manager.UpdateBuyerManagerRequest, ...) error
- type CategoryHandler
- type CategoryManagerHandler
- func (h *CategoryManagerHandler) Create(ctx context.Context, req *rpc_category_manager.CreateCategoryManagerRequest, ...) error
- func (h *CategoryManagerHandler) Delete(ctx context.Context, req *rpc_category_manager.DeleteCategoryManagerRequest, ...) error
- func (h *CategoryManagerHandler) Get(ctx context.Context, req *rpc_category_manager.GetCategoryManagerRequest, ...) error
- func (h *CategoryManagerHandler) Paginate(ctx context.Context, req *rpc_category_manager.PaginateCategoryManagerRequest, ...) error
- func (h *CategoryManagerHandler) Update(ctx context.Context, req *rpc_category_manager.UpdateCategoryManagerRequest, ...) error
- type MenuHandler
- type OrderHandler
- func (h *OrderHandler) Create(ctx context.Context, req *rpc_order.CreateOrderRequest, ...) error
- func (h *OrderHandler) Delete(ctx context.Context, req *rpc_order.DeleteOrderRequest, rsp *empty.Empty) error
- func (h *OrderHandler) Export(ctx context.Context, req *rpc_order.ExportOrderRequest, rsp *empty.Empty) error
- func (h *OrderHandler) Get(ctx context.Context, req *rpc_order.GetOrderRequest, ...) error
- func (h *OrderHandler) GetStat(ctx context.Context, req *rpc_order.GetStatOrderRequest, ...) error
- func (h *OrderHandler) Paginate(ctx context.Context, req *rpc_order.PaginateOrderRequest, ...) error
- func (h *OrderHandler) Update(ctx context.Context, req *rpc_order.UpdateOrderRequest, rsp *empty.Empty) error
- type ProductHandler
- type ProductManagerHandler
- func (h *ProductManagerHandler) Create(ctx context.Context, req *rpc_product_manager.CreateProductManagerRequest, ...) error
- func (h *ProductManagerHandler) Delete(ctx context.Context, req *rpc_product_manager.DeleteProductManagerRequest, ...) error
- func (h *ProductManagerHandler) Get(ctx context.Context, req *rpc_product_manager.GetProductManagerRequest, ...) error
- func (h *ProductManagerHandler) Paginate(ctx context.Context, req *rpc_product_manager.PaginateProductManagerRequest, ...) error
- func (h *ProductManagerHandler) Update(ctx context.Context, req *rpc_product_manager.UpdateProductManagerRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AncestorHandler ¶
type AncestorHandler struct {
// contains filtered or unexported fields
}
AncestorHandler ...
func NewAncestorHandler ¶
func NewAncestorHandler( ancestorService service.AncestorService, ) *AncestorHandler
NewAncestorHandler ...
func (*AncestorHandler) Get ¶
func (h *AncestorHandler) Get(ctx context.Context, req *rpc_ancestor.GetAncestorRequest, rsp *rpc_ancestor.GetAncestorResponse) error
Get ...
func (*AncestorHandler) Paginate ¶
func (h *AncestorHandler) Paginate(ctx context.Context, req *rpc_ancestor.PaginateAncestorRequest, rsp *rpc_ancestor.PaginateAncestorResponse) error
Paginate ...
type AncestorManagerHandler ¶
type AncestorManagerHandler struct {
// contains filtered or unexported fields
}
AncestorManagerHandler ...
func NewAncestorManagerHandler ¶
func NewAncestorManagerHandler( ancestorService service.AncestorManagerService, ) *AncestorManagerHandler
NewAncestorHandler ...
func (*AncestorManagerHandler) Create ¶
func (h *AncestorManagerHandler) Create(ctx context.Context, req *rpc_ancestor_manager.CreateAncestorManagerRequest, rsp *rpc_ancestor_manager.CreateAncestorManagerResponse) error
Create ...
func (*AncestorManagerHandler) Delete ¶
func (h *AncestorManagerHandler) Delete(ctx context.Context, req *rpc_ancestor_manager.DeleteAncestorManagerRequest, rsp *empty.Empty) error
Delete ...
func (*AncestorManagerHandler) Get ¶
func (h *AncestorManagerHandler) Get(ctx context.Context, req *rpc_ancestor_manager.GetAncestorManagerRequest, rsp *rpc_ancestor_manager.GetAncestorManagerResponse) error
Get ...
func (*AncestorManagerHandler) Paginate ¶
func (h *AncestorManagerHandler) Paginate(ctx context.Context, req *rpc_ancestor_manager.PaginateAncestorManagerRequest, rsp *rpc_ancestor_manager.PaginateAncestorManagerResponse) error
Paginate ...
func (*AncestorManagerHandler) Update ¶
func (h *AncestorManagerHandler) Update(ctx context.Context, req *rpc_ancestor_manager.UpdateAncestorManagerRequest, rsp *empty.Empty) error
Update ...
type AttributeHandler ¶
type AttributeHandler struct {
// contains filtered or unexported fields
}
AttributeHandler ...
func NewAttributeHandler ¶
func NewAttributeHandler( attributeService service.AttributeService, ) *AttributeHandler
NewAttributeHandler ...
func (*AttributeHandler) Get ¶
func (h *AttributeHandler) Get(ctx context.Context, req *rpc_attribute.GetAttributeRequest, rsp *rpc_attribute.GetAttributeResponse) error
Get ...
func (*AttributeHandler) Paginate ¶
func (h *AttributeHandler) Paginate(ctx context.Context, req *rpc_attribute.PaginateAttributeRequest, rsp *rpc_attribute.PaginateAttributeResponse) error
Paginate ...
type AttributeManagerHandler ¶
type AttributeManagerHandler struct {
// contains filtered or unexported fields
}
AttributeManagerHandler ...
func NewAttributeManagerHandler ¶
func NewAttributeManagerHandler( attributeService service.AttributeManagerService, ) *AttributeManagerHandler
NewAttributeHandler ...
func (*AttributeManagerHandler) Create ¶
func (h *AttributeManagerHandler) Create(ctx context.Context, req *rpc_attribute_manager.CreateAttributeManagerRequest, rsp *rpc_attribute_manager.CreateAttributeManagerResponse) error
Create ...
func (*AttributeManagerHandler) Delete ¶
func (h *AttributeManagerHandler) Delete(ctx context.Context, req *rpc_attribute_manager.DeleteAttributeManagerRequest, rsp *empty.Empty) error
Delete ...
func (*AttributeManagerHandler) Get ¶
func (h *AttributeManagerHandler) Get(ctx context.Context, req *rpc_attribute_manager.GetAttributeManagerRequest, rsp *rpc_attribute_manager.GetAttributeManagerResponse) error
Get ...
func (*AttributeManagerHandler) Paginate ¶
func (h *AttributeManagerHandler) Paginate(ctx context.Context, req *rpc_attribute_manager.PaginateAttributeManagerRequest, rsp *rpc_attribute_manager.PaginateAttributeManagerResponse) error
Paginate ...
func (*AttributeManagerHandler) Update ¶
func (h *AttributeManagerHandler) Update(ctx context.Context, req *rpc_attribute_manager.UpdateAttributeManagerRequest, rsp *empty.Empty) error
Update ...
type BuyerHandler ¶
type BuyerHandler struct {
// contains filtered or unexported fields
}
BuyerHandler ...
func NewBuyerHandler ¶
func NewBuyerHandler( buyerService service.BuyerService, ) *BuyerHandler
NewBuyerHandler ...
func (*BuyerHandler) Get ¶
func (h *BuyerHandler) Get(ctx context.Context, req *rpc_buyer.GetBuyerRequest, rsp *rpc_buyer.GetBuyerResponse) error
Get ...
func (*BuyerHandler) Paginate ¶
func (h *BuyerHandler) Paginate(ctx context.Context, req *rpc_buyer.PaginateBuyerRequest, rsp *rpc_buyer.PaginateBuyerResponse) error
Paginate ...
type BuyerManagerHandler ¶
type BuyerManagerHandler struct {
// contains filtered or unexported fields
}
BuyerManagerHandler ...
func NewBuyerManagerHandler ¶
func NewBuyerManagerHandler( buyerService service.BuyerManagerService, ) *BuyerManagerHandler
NewBuyerHandler ...
func (*BuyerManagerHandler) Create ¶
func (h *BuyerManagerHandler) Create(ctx context.Context, req *rpc_buyer_manager.CreateBuyerManagerRequest, rsp *rpc_buyer_manager.CreateBuyerManagerResponse) error
Create ...
func (*BuyerManagerHandler) Delete ¶
func (h *BuyerManagerHandler) Delete(ctx context.Context, req *rpc_buyer_manager.DeleteBuyerManagerRequest, rsp *empty.Empty) error
Delete ...
func (*BuyerManagerHandler) Get ¶
func (h *BuyerManagerHandler) Get(ctx context.Context, req *rpc_buyer_manager.GetBuyerManagerRequest, rsp *rpc_buyer_manager.GetBuyerManagerResponse) error
Get ...
func (*BuyerManagerHandler) Paginate ¶
func (h *BuyerManagerHandler) Paginate(ctx context.Context, req *rpc_buyer_manager.PaginateBuyerManagerRequest, rsp *rpc_buyer_manager.PaginateBuyerManagerResponse) error
Paginate ...
func (*BuyerManagerHandler) Search ¶
func (h *BuyerManagerHandler) Search(ctx context.Context, req *rpc_buyer_manager.SearchBuyerManagerRequest, rsp *rpc_buyer_manager.GetBuyerManagerResponse) error
Get ...
func (*BuyerManagerHandler) SearchByPhone ¶
func (h *BuyerManagerHandler) SearchByPhone(ctx context.Context, req *rpc_buyer_manager.SearchByPhoneManagerRequest, rsp *rpc_buyer_manager.GetBuyerManagerResponse) error
Get ...
func (*BuyerManagerHandler) Update ¶
func (h *BuyerManagerHandler) Update(ctx context.Context, req *rpc_buyer_manager.UpdateBuyerManagerRequest, rsp *empty.Empty) error
Update ...
type CategoryHandler ¶
type CategoryHandler struct {
// contains filtered or unexported fields
}
CategoryHandler ...
func NewCategoryHandler ¶
func NewCategoryHandler( categoryService service.CategoryService, ) *CategoryHandler
NewCategoryHandler ...
func (*CategoryHandler) Get ¶
func (h *CategoryHandler) Get(ctx context.Context, req *rpc_category.GetCategoryRequest, rsp *rpc_category.GetCategoryResponse) error
Get ...
func (*CategoryHandler) Paginate ¶
func (h *CategoryHandler) Paginate(ctx context.Context, req *rpc_category.PaginateCategoryRequest, rsp *rpc_category.PaginateCategoryResponse) error
Paginate ...
type CategoryManagerHandler ¶
type CategoryManagerHandler struct {
// contains filtered or unexported fields
}
CategoryManagerHandler ...
func NewCategoryManagerHandler ¶
func NewCategoryManagerHandler( categoryService service.CategoryManagerService, ) *CategoryManagerHandler
NewCategoryHandler ...
func (*CategoryManagerHandler) Create ¶
func (h *CategoryManagerHandler) Create(ctx context.Context, req *rpc_category_manager.CreateCategoryManagerRequest, rsp *rpc_category_manager.CreateCategoryManagerResponse) error
Create ...
func (*CategoryManagerHandler) Delete ¶
func (h *CategoryManagerHandler) Delete(ctx context.Context, req *rpc_category_manager.DeleteCategoryManagerRequest, rsp *empty.Empty) error
Delete ...
func (*CategoryManagerHandler) Get ¶
func (h *CategoryManagerHandler) Get(ctx context.Context, req *rpc_category_manager.GetCategoryManagerRequest, rsp *rpc_category_manager.GetCategoryManagerResponse) error
Get ...
func (*CategoryManagerHandler) Paginate ¶
func (h *CategoryManagerHandler) Paginate(ctx context.Context, req *rpc_category_manager.PaginateCategoryManagerRequest, rsp *rpc_category_manager.PaginateCategoryManagerResponse) error
Paginate ...
func (*CategoryManagerHandler) Update ¶
func (h *CategoryManagerHandler) Update(ctx context.Context, req *rpc_category_manager.UpdateCategoryManagerRequest, rsp *empty.Empty) error
Update ...
type MenuHandler ¶
type MenuHandler struct {
// contains filtered or unexported fields
}
MenuHandler ...
func NewMenuHandler ¶
func NewMenuHandler( menuService service.MenuService, ) *MenuHandler
NewProductHandler ...
func (*MenuHandler) Import ¶
func (h *MenuHandler) Import(ctx context.Context, req *empty.Empty, rsp *rpc_menu.ImportMenuResponse) error
Import ...
type OrderHandler ¶
type OrderHandler struct {
// contains filtered or unexported fields
}
OrderHandler ...
func NewOrderHandler ¶
func NewOrderHandler( orderService service.OrderService, ) *OrderHandler
NewAttributeHandler ...
func (*OrderHandler) Create ¶
func (h *OrderHandler) Create(ctx context.Context, req *rpc_order.CreateOrderRequest, rsp *rpc_order.CreateOrderResponse) error
Create ...
func (*OrderHandler) Delete ¶
func (h *OrderHandler) Delete(ctx context.Context, req *rpc_order.DeleteOrderRequest, rsp *empty.Empty) error
Delete ...
func (*OrderHandler) Export ¶
func (h *OrderHandler) Export(ctx context.Context, req *rpc_order.ExportOrderRequest, rsp *empty.Empty) error
GetStat ...
func (*OrderHandler) Get ¶
func (h *OrderHandler) Get(ctx context.Context, req *rpc_order.GetOrderRequest, rsp *rpc_order.GetOrderResponse) error
Get ...
func (*OrderHandler) GetStat ¶
func (h *OrderHandler) GetStat(ctx context.Context, req *rpc_order.GetStatOrderRequest, rsp *rpc_order.GetStatOrderResponse) error
GetStat ...
func (*OrderHandler) Paginate ¶
func (h *OrderHandler) Paginate(ctx context.Context, req *rpc_order.PaginateOrderRequest, rsp *rpc_order.PaginateOrderResponse) error
Paginate ...
func (*OrderHandler) Update ¶
func (h *OrderHandler) Update(ctx context.Context, req *rpc_order.UpdateOrderRequest, rsp *empty.Empty) error
Update ...
type ProductHandler ¶
type ProductHandler struct {
// contains filtered or unexported fields
}
ProductHandler ...
func NewProductHandler ¶
func NewProductHandler( productService service.ProductService, ) *ProductHandler
NewProductHandler ...
func (*ProductHandler) Get ¶
func (h *ProductHandler) Get(ctx context.Context, req *rpc_product.GetProductRequest, rsp *rpc_product.GetProductResponse) error
Get ...
func (*ProductHandler) Paginate ¶
func (h *ProductHandler) Paginate(ctx context.Context, req *rpc_product.PaginateProductRequest, rsp *rpc_product.PaginateProductResponse) error
Paginate ...
type ProductManagerHandler ¶
type ProductManagerHandler struct {
// contains filtered or unexported fields
}
ProductManagerHandler ...
func NewProductManagerHandler ¶
func NewProductManagerHandler( productService service.ProductManagerService, ) *ProductManagerHandler
NewProductHandler ...
func (*ProductManagerHandler) Create ¶
func (h *ProductManagerHandler) Create(ctx context.Context, req *rpc_product_manager.CreateProductManagerRequest, rsp *rpc_product_manager.CreateProductManagerResponse) error
Create ...
func (*ProductManagerHandler) Delete ¶
func (h *ProductManagerHandler) Delete(ctx context.Context, req *rpc_product_manager.DeleteProductManagerRequest, rsp *empty.Empty) error
Delete ...
func (*ProductManagerHandler) Get ¶
func (h *ProductManagerHandler) Get(ctx context.Context, req *rpc_product_manager.GetProductManagerRequest, rsp *rpc_product_manager.GetProductManagerResponse) error
Get ...
func (*ProductManagerHandler) Paginate ¶
func (h *ProductManagerHandler) Paginate(ctx context.Context, req *rpc_product_manager.PaginateProductManagerRequest, rsp *rpc_product_manager.PaginateProductManagerResponse) error
Paginate ...
func (*ProductManagerHandler) Update ¶
func (h *ProductManagerHandler) Update(ctx context.Context, req *rpc_product_manager.UpdateProductManagerRequest, rsp *empty.Empty) error
Update ...