Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminMiddleware ¶
func AdminMiddleware() gin.HandlerFunc
func AuthMiddleware ¶
func AuthMiddleware(tokenMaker token.Maker, permissive bool) gin.HandlerFunc
func RoleMiddleware ¶
func RoleMiddleware(role string) gin.HandlerFunc
func Zerologger ¶
func Zerologger(logger *zerolog.Logger) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.