Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type JWTService ¶
type JWTService interface { GenerateToken(UserID string) string ValidateToken(token string) (*jwt.Token, error) }
A contract of what jwtService can do
func NewJWTService ¶
func NewJWTService() JWTService
Click to show internal directories.
Click to hide internal directories.