Documentation ¶
Index ¶
- type Cart
- func (c *Cart) AddCart(ctx context.Context, in *gocategoryservicecart.CartInfo, ...) error
- func (c *Cart) CleanCart(ctx context.Context, in *gocategoryservicecart.Clean, ...) error
- func (c *Cart) Decr(ctx context.Context, in *gocategoryservicecart.Item, ...) error
- func (c *Cart) DeleteItemById(ctx context.Context, in *gocategoryservicecart.CartId, ...) error
- func (c *Cart) GetAll(ctx context.Context, in *gocategoryservicecart.AllRequest, ...) error
- func (c *Cart) Incr(ctx context.Context, in *gocategoryservicecart.Item, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cart ¶
type Cart struct {
CartDataService service.ICartDataService
}
func (*Cart) AddCart ¶
func (c *Cart) AddCart(ctx context.Context, in *gocategoryservicecart.CartInfo, out *gocategoryservicecart.ResponseAdd) error
func (*Cart) CleanCart ¶
func (c *Cart) CleanCart(ctx context.Context, in *gocategoryservicecart.Clean, out *gocategoryservicecart.Response) error
func (*Cart) Decr ¶
func (c *Cart) Decr(ctx context.Context, in *gocategoryservicecart.Item, out *gocategoryservicecart.Response) error
func (*Cart) DeleteItemById ¶
func (c *Cart) DeleteItemById(ctx context.Context, in *gocategoryservicecart.CartId, out *gocategoryservicecart.Response) error
func (*Cart) GetAll ¶
func (c *Cart) GetAll(ctx context.Context, in *gocategoryservicecart.AllRequest, out *gocategoryservicecart.CartAll) error
func (*Cart) Incr ¶
func (c *Cart) Incr(ctx context.Context, in *gocategoryservicecart.Item, out *gocategoryservicecart.Response) error
Click to show internal directories.
Click to hide internal directories.