Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JWTMiddleware ¶
func JWTMiddleware(db *gorm.DB) gin.HandlerFunc
func OnlyAdmin ¶
func OnlyAdmin(db *gorm.DB, u *repository.UserRepository) gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.