user.go 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package biz
  2. import (
  3. "context"
  4. pb "sikey/w303a/http/api/user/v2"
  5. )
  6. type UserRepo interface {
  7. }
  8. type UserUsecase struct {
  9. userRepo UserRepo
  10. }
  11. func NewUserUsecase(userRepo UserRepo) *UserUsecase {
  12. return &UserUsecase{userRepo: userRepo}
  13. }
  14. func (uc *UserUsecase) SignIn(ctx context.Context, req *pb.SignInRequest) (*pb.SignInResponse, error) {
  15. return nil, nil
  16. }
  17. func (uc *UserUsecase) SignUp(ctx context.Context, req *pb.SignUpRequest) (*pb.SignUpResponse, error) {
  18. return nil, nil
  19. }
  20. func (uc *UserUsecase) Unregister(ctx context.Context, req *pb.UnregisterRequest) (*pb.UnregisterResponse, error) {
  21. return nil, nil
  22. }
  23. func (uc *UserUsecase) ResetPassword(ctx context.Context, req *pb.ResetPasswordRequest) (*pb.ResetPasswordResponse, error) {
  24. return nil, nil
  25. }
  26. func (uc *UserUsecase) RetrievePassword(ctx context.Context, req *pb.RetrievePasswordRequest) (*pb.RetrievePasswordResponse, error) {
  27. return nil, nil
  28. }
  29. func (uc *UserUsecase) SMSCode(ctx context.Context, req *pb.SMSCodeRequest) (*pb.SMSCodeResponse, error) {
  30. return nil, nil
  31. }