Documentation ¶
Index ¶
- func SendEmail(email string, hashEmail string) error
- type Auth
- func (a *Auth) ParseToken(token string) (int, error)
- func (a *Auth) RefreshTokens(refreshToken string) (string, string, error)
- func (a *Auth) SaveUser(hashEmail string) error
- func (a *Auth) SignIn(userInfo *domain.SignIn) (string, string, error)
- func (a *Auth) SignUp(userInfo *domain.SignUp) error
- func (a *Auth) UniqueEmail(email string) error
- type CacheUsers
- type Hasher
- type UserRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) RefreshTokens ¶
func (*Auth) UniqueEmail ¶
type CacheUsers ¶
Click to show internal directories.
Click to hide internal directories.