service

package
v0.0.0-...-4241208 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT, MIT Imports: 5 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

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)

Jump to

Keyboard shortcuts

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