Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUserCreationValidation = user.ErrUserCreationValidation ErrUserOnCreate = user.ErrUserOnCreate ErrUserNotFound = user.ErrUserNotFound ErrInvalidUserPassword = errors.New("invalid password") ErrWrongOTP = errors.New("wrong otp") )
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func (*UserService) SendSignInOTP ¶
func (s *UserService) SendSignInOTP(ctx context.Context, phone string) error
func (*UserService) SignIn ¶
func (s *UserService) SignIn(ctx context.Context, req *pb.UserSignInRequest) (*pb.UserSignInResponse, error)
func (*UserService) SignUp ¶
func (s *UserService) SignUp(ctx context.Context, req *pb.UserSignUpRequest) (*pb.UserSignUpResponse, error)
Click to show internal directories.
Click to hide internal directories.