Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GenerateToken(u *entities.User) (string, int64, error) GenerateRefreshToken(u *entities.User) (string, int64, error) }
func NewService ¶
func NewService() Service
type TokenService ¶
type TokenService struct {
// contains filtered or unexported fields
}
func (*TokenService) GenerateRefreshToken ¶
func (*TokenService) GenerateToken ¶
Click to show internal directories.
Click to hide internal directories.