Documentation ¶
Index ¶
- Variables
- type CartServiceService
- func (s *CartServiceService) AddItem(ctx context.Context, req *pb.AddItemRequest) (*spb.Empty, error)
- func (s *CartServiceService) EmptyCart(ctx context.Context, req *pb.EmptyCartRequest) (*spb.Empty, error)
- func (s *CartServiceService) GetCart(ctx context.Context, req *pb.GetCartRequest) (*spb.Cart, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCartServiceService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type CartServiceService ¶
type CartServiceService struct { pb.UnimplementedCartServiceServer // contains filtered or unexported fields }
func NewCartServiceService ¶
func NewCartServiceService(uc *biz.CartUsecase, logger log.Logger) *CartServiceService
func (*CartServiceService) AddItem ¶
func (s *CartServiceService) AddItem(ctx context.Context, req *pb.AddItemRequest) (*spb.Empty, error)
func (*CartServiceService) EmptyCart ¶
func (s *CartServiceService) EmptyCart(ctx context.Context, req *pb.EmptyCartRequest) (*spb.Empty, error)
func (*CartServiceService) GetCart ¶
func (s *CartServiceService) GetCart(ctx context.Context, req *pb.GetCartRequest) (*spb.Cart, error)
Click to show internal directories.
Click to hide internal directories.