Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewSmsService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type SmsService ¶
type SmsService struct { pb.UnimplementedSmsServer // contains filtered or unexported fields }
func NewSmsService ¶
func NewSmsService(uc *biz.SmsUseCase, logger log.Logger) *SmsService
func (*SmsService) SendSmsCode ¶
func (s *SmsService) SendSmsCode(ctx context.Context, req *pb.SendSmsCodeRequest) (*pb.SendSmsCodeReply, error)
func (*SmsService) VerifySmsCode ¶
func (s *SmsService) VerifySmsCode(ctx context.Context, req *pb.VerifySmsCodeRequest) (*pb.VerifySmsCodeReply, error)
Click to show internal directories.
Click to hide internal directories.