Documentation ¶
Index ¶
- Variables
- type ShopInterface
- func (s *ShopInterface) AddCartItem(ctx context.Context, req *v1.AddCartItemReq) (*v1.AddCartItemReply, error)
- func (s *ShopInterface) CreateAddress(ctx context.Context, req *v1.CreateAddressReq) (*v1.CreateAddressReply, error)
- func (s *ShopInterface) CreateCard(ctx context.Context, req *v1.CreateCardReq) (*v1.CreateCardReply, error)
- func (s *ShopInterface) CreateOrder(ctx context.Context, req *v1.CreateOrderReq) (*v1.CreateOrderReply, error)
- func (s *ShopInterface) DeleteCard(ctx context.Context, req *v1.DeleteCardReq) (*v1.DeleteCardReply, error)
- func (s *ShopInterface) GetAddress(ctx context.Context, req *v1.GetAddressReq) (*v1.GetAddressReply, error)
- func (s *ShopInterface) GetBook(ctx context.Context, req *v1.GetBookReq) (*v1.GetBookReply, error)
- func (s *ShopInterface) GetCard(ctx context.Context, req *v1.GetCardReq) (*v1.GetCardReply, error)
- func (s *ShopInterface) ListAddress(ctx context.Context, req *v1.ListAddressReq) (*v1.ListAddressReply, error)
- func (s *ShopInterface) ListBook(ctx context.Context, req *v1.ListBookReq) (*v1.ListBookReply, error)
- func (s *ShopInterface) ListCard(ctx context.Context, req *v1.ListCardReq) (*v1.ListCardReply, error)
- func (s *ShopInterface) ListCartItem(ctx context.Context, req *v1.ListCartItemReq) (*v1.ListCartItemReply, error)
- func (s *ShopInterface) ListOrder(ctx context.Context, req *v1.ListOrderReq) (*v1.ListOrderReply, error)
- func (s *ShopInterface) Login(ctx context.Context, req *v1.LoginReq) (*v1.LoginReply, error)
- func (s *ShopInterface) Logout(ctx context.Context, req *v1.LogoutReq) (*v1.LogoutReply, error)
- func (s *ShopInterface) Register(ctx context.Context, req *v1.RegisterReq) (*v1.RegisterReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewShopInterface)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type ShopInterface ¶
type ShopInterface struct { v1.UnimplementedShopInterfaceServer // contains filtered or unexported fields }
func NewShopInterface ¶
func NewShopInterface( uc *biz.UserUseCase, cc *biz.CatalogUseCase, ac *biz.AuthUseCase, logger log.Logger) *ShopInterface
func (*ShopInterface) AddCartItem ¶
func (s *ShopInterface) AddCartItem(ctx context.Context, req *v1.AddCartItemReq) (*v1.AddCartItemReply, error)
func (*ShopInterface) CreateAddress ¶
func (s *ShopInterface) CreateAddress(ctx context.Context, req *v1.CreateAddressReq) (*v1.CreateAddressReply, error)
func (*ShopInterface) CreateCard ¶
func (s *ShopInterface) CreateCard(ctx context.Context, req *v1.CreateCardReq) (*v1.CreateCardReply, error)
func (*ShopInterface) CreateOrder ¶
func (s *ShopInterface) CreateOrder(ctx context.Context, req *v1.CreateOrderReq) (*v1.CreateOrderReply, error)
func (*ShopInterface) DeleteCard ¶
func (s *ShopInterface) DeleteCard(ctx context.Context, req *v1.DeleteCardReq) (*v1.DeleteCardReply, error)
func (*ShopInterface) GetAddress ¶
func (s *ShopInterface) GetAddress(ctx context.Context, req *v1.GetAddressReq) (*v1.GetAddressReply, error)
func (*ShopInterface) GetBook ¶
func (s *ShopInterface) GetBook(ctx context.Context, req *v1.GetBookReq) (*v1.GetBookReply, error)
func (*ShopInterface) GetCard ¶
func (s *ShopInterface) GetCard(ctx context.Context, req *v1.GetCardReq) (*v1.GetCardReply, error)
func (*ShopInterface) ListAddress ¶
func (s *ShopInterface) ListAddress(ctx context.Context, req *v1.ListAddressReq) (*v1.ListAddressReply, error)
func (*ShopInterface) ListBook ¶
func (s *ShopInterface) ListBook(ctx context.Context, req *v1.ListBookReq) (*v1.ListBookReply, error)
func (*ShopInterface) ListCard ¶
func (s *ShopInterface) ListCard(ctx context.Context, req *v1.ListCardReq) (*v1.ListCardReply, error)
func (*ShopInterface) ListCartItem ¶
func (s *ShopInterface) ListCartItem(ctx context.Context, req *v1.ListCartItemReq) (*v1.ListCartItemReply, error)
func (*ShopInterface) ListOrder ¶
func (s *ShopInterface) ListOrder(ctx context.Context, req *v1.ListOrderReq) (*v1.ListOrderReply, error)
func (*ShopInterface) Login ¶
func (s *ShopInterface) Login(ctx context.Context, req *v1.LoginReq) (*v1.LoginReply, error)
func (*ShopInterface) Logout ¶
func (s *ShopInterface) Logout(ctx context.Context, req *v1.LogoutReq) (*v1.LogoutReply, error)
func (*ShopInterface) Register ¶
func (s *ShopInterface) Register(ctx context.Context, req *v1.RegisterReq) (*v1.RegisterReply, error)
Click to show internal directories.
Click to hide internal directories.