Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
check auth.route
func (AuthService) GetToken ¶
func (Srv AuthService) GetToken(email string) (bool, *authmodel.AuthUserTokenModel)
Check if user exists by given email address
func (*AuthService) SaveToken ¶
func (Srv *AuthService) SaveToken(ctx context.Context, token *tinytoken.TinyTokenData, email string, status string) (bool, int64)
func (*AuthService) SetTokenStatus ¶
func (Srv *AuthService) SetTokenStatus(status string, email string) (bool, int64)
Click to show internal directories.
Click to hide internal directories.