Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCartItemService ¶
type AddCartItemService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewAddCartItemService ¶
func NewAddCartItemService(Context context.Context, RequestContext *app.RequestContext) *AddCartItemService
func (*AddCartItemService) Run ¶
func (h *AddCartItemService) Run(req *cart.AddCartItemReq) (resp *common.Empty, err error)
type CategoryService ¶
type CategoryService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewCategoryService ¶
func NewCategoryService(Context context.Context, RequestContext *app.RequestContext) *CategoryService
func (*CategoryService) Run ¶
func (h *CategoryService) Run(req *category.CategoryReq) (resp map[string]any, err error)
type CheckoutResultService ¶
type CheckoutResultService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewCheckoutResultService ¶
func NewCheckoutResultService(Context context.Context, RequestContext *app.RequestContext) *CheckoutResultService
type CheckoutService ¶
type CheckoutService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewCheckoutService ¶
func NewCheckoutService(Context context.Context, RequestContext *app.RequestContext) *CheckoutService
type CheckoutWaitingService ¶
type CheckoutWaitingService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewCheckoutWaitingService ¶
func NewCheckoutWaitingService(Context context.Context, RequestContext *app.RequestContext) *CheckoutWaitingService
func (*CheckoutWaitingService) Run ¶
func (h *CheckoutWaitingService) Run(req *checkout.CheckoutReq) (resp map[string]any, err error)
type GetCartService ¶
type GetCartService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewGetCartService ¶
func NewGetCartService(Context context.Context, RequestContext *app.RequestContext) *GetCartService
type GetProductService ¶
type GetProductService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewGetProductService ¶
func NewGetProductService(Context context.Context, RequestContext *app.RequestContext) *GetProductService
func (*GetProductService) Run ¶
func (h *GetProductService) Run(req *product.ProductReq) (resp map[string]any, err error)
type HomeService ¶
type HomeService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewHomeService ¶
func NewHomeService(Context context.Context, RequestContext *app.RequestContext) *HomeService
type LoginService ¶
type LoginService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewLoginService ¶
func NewLoginService(Context context.Context, RequestContext *app.RequestContext) *LoginService
type LogoutService ¶
type LogoutService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewLogoutService ¶
func NewLogoutService(Context context.Context, RequestContext *app.RequestContext) *LogoutService
type OrderListService ¶
type OrderListService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewOrderListService ¶
func NewOrderListService(Context context.Context, RequestContext *app.RequestContext) *OrderListService
type RegisterService ¶
type RegisterService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewRegisterService ¶
func NewRegisterService(Context context.Context, RequestContext *app.RequestContext) *RegisterService
func (*RegisterService) Run ¶
func (h *RegisterService) Run(req *auth.RegisterReq) (resp *common.Empty, err error)
type SearchProductService ¶
type SearchProductService struct {
RequestContext *app.RequestContext
Context context.Context
}
func NewSearchProductService ¶
func NewSearchProductService(Context context.Context, RequestContext *app.RequestContext) *SearchProductService
func (*SearchProductService) Run ¶
func (h *SearchProductService) Run(req *product.SearchProductReq) (resp map[string]any, err error)
Click to show internal directories.
Click to hide internal directories.