Documentation ¶
Index ¶
- type UserService
- func (s *UserService) RefreshToken(ctx context.Context, email, refreshToken string) (string, string, error)
- func (s *UserService) SignIn(ctx context.Context, email, password string) (string, string, error)
- func (s *UserService) SignUp(ctx context.Context, u *user.User) error
- func (s *UserService) ValidateToken(ctx context.Context, token string) (bool, string, error)
- func (s *UserService) VerifyEmailToken(email, token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(repo *repository.UserRepository) *UserService
func (*UserService) RefreshToken ¶
func (*UserService) ValidateToken ¶
func (*UserService) VerifyEmailToken ¶
func (s *UserService) VerifyEmailToken(email, token string) error
Click to show internal directories.
Click to hide internal directories.