Documentation ¶
Index ¶
- Variables
- func NewEntry(conf *config.Config, router gin.Router, logger *zap.Logger) *gin.Entry
- func NewJWTFactory(conf *config.Config, loginFunc xjwt.LoginFunc) xjwt.JWTFactory
- func NewJWTMiddleware(factory xjwt.JWTFactory) *middleware.JWTMiddleware
- func NewLoginFunc(s *service.UserService) xjwt.LoginFunc
- func NewRouter(u *api.UserController, l *api.LotteryController, d *api.DefaultController, ...) gin.Router
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewJWTFactory ¶
func NewJWTMiddleware ¶
func NewJWTMiddleware(factory xjwt.JWTFactory) *middleware.JWTMiddleware
func NewLoginFunc ¶
func NewLoginFunc(s *service.UserService) xjwt.LoginFunc
func NewRouter ¶
func NewRouter( u *api.UserController, l *api.LotteryController, d *api.DefaultController, jwt *api.JwtController, ) gin.Router
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.