rpc

package
v0.0.0-...-2d053d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CartHandler

type CartHandler struct {
	// contains filtered or unexported fields
}

func NewCartHandler

func NewCartHandler(useCase usecase.CartCasePort) *CartHandler

func (*CartHandler) AddGoodsIntoCart

func (h *CartHandler) AddGoodsIntoCart(ctx context.Context, req *cart.AddGoodsIntoCartRequest) (r *cart.AddGoodsIntoCartResponse, err error)

func (*CartHandler) DeleteAllCartGoods

func (*CartHandler) DeleteCartGoods

func (*CartHandler) PayCartGoods

func (h *CartHandler) PayCartGoods(ctx context.Context, req *cart.PayCartGoodsRequest) (r *cart.PayCartGoodsResponse, err error)

func (*CartHandler) ShowCartGoodsList

func (h *CartHandler) ShowCartGoodsList(ctx context.Context, req *cart.ShowCartGoodsListRequest) (r *cart.ShowCartGoodsListResponse, err error)

func (*CartHandler) UpdateCartGoods

func (h *CartHandler) UpdateCartGoods(ctx context.Context, req *cart.UpdateCartGoodsRequest) (r *cart.UpdateCartGoodsResponse, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL