Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTService ¶
type JWTService interface { GenerateToken(name string, admin bool) string ValidateToken(tokenString string) (*jwt.Token, error) }
func NewJWTService ¶
func NewJWTService() JWTService
type LoginService ¶
func NewLoginService ¶
func NewLoginService() LoginService
Click to show internal directories.
Click to hide internal directories.