Documentation ¶
Index ¶
- type AuthService
- func (_s *AuthService) CheckPasswordHash(password, hash string) bool
- func (_s *AuthService) CreateNewUser(newUser models.NewUserRequest) *entities.UserEntity
- func (_s *AuthService) GenerateRandomString(n int) (string, error)
- func (_s *AuthService) HashPassword(password string) (string, error)
- func (_s *AuthService) New(appConfig *config.AppConfig, db *database.AppDBConn)
- func (_s *AuthService) VerifyNewUser(token string) bool
- type EmailService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
func (*AuthService) CheckPasswordHash ¶
func (_s *AuthService) CheckPasswordHash(password, hash string) bool
func (*AuthService) CreateNewUser ¶
func (_s *AuthService) CreateNewUser(newUser models.NewUserRequest) *entities.UserEntity
func (*AuthService) GenerateRandomString ¶
func (_s *AuthService) GenerateRandomString(n int) (string, error)
func (*AuthService) HashPassword ¶
func (_s *AuthService) HashPassword(password string) (string, error)
func (*AuthService) New ¶
func (_s *AuthService) New(appConfig *config.AppConfig, db *database.AppDBConn)
func (*AuthService) VerifyNewUser ¶
func (_s *AuthService) VerifyNewUser(token string) bool
Click to show internal directories.
Click to hide internal directories.