service

package
v0.0.0-...-9bd63dd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 5 Imported by: 0

README

Service

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)

Jump to

Keyboard shortcuts

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