Documentation ¶
Index ¶
- Variables
- type CAKEServiceService
- func (s *CAKEServiceService) CreateCampaign(ctx context.Context, req *pb.CreateCampaignRequest) (*pb.CreateCampaignResponse, error)
- func (s *CAKEServiceService) CreateVoucher(ctx context.Context, req *pb.CreateVoucherRequest) (*pb.CreateVoucherResponse, error)
- func (s *CAKEServiceService) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginResponse, error)
- func (s *CAKEServiceService) Register(ctx context.Context, req *pb.RegisterNewAccountRequest) (*pb.RegisterNewAccountResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCAKEServiceService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type CAKEServiceService ¶
type CAKEServiceService struct { pb.UnimplementedCAKEServiceServer // contains filtered or unexported fields }
func NewCAKEServiceService ¶
func NewCAKEServiceService(userUseCase *biz.UserUseCase, voucherUseCase *biz.VoucherUseCase, campaignUseCase *biz.CampaignUseCase) *CAKEServiceService
func (*CAKEServiceService) CreateCampaign ¶
func (s *CAKEServiceService) CreateCampaign(ctx context.Context, req *pb.CreateCampaignRequest) (*pb.CreateCampaignResponse, error)
func (*CAKEServiceService) CreateVoucher ¶
func (s *CAKEServiceService) CreateVoucher(ctx context.Context, req *pb.CreateVoucherRequest) (*pb.CreateVoucherResponse, error)
func (*CAKEServiceService) Login ¶
func (s *CAKEServiceService) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginResponse, error)
func (*CAKEServiceService) Register ¶
func (s *CAKEServiceService) Register(ctx context.Context, req *pb.RegisterNewAccountRequest) (*pb.RegisterNewAccountResponse, error)
Click to show internal directories.
Click to hide internal directories.