Documentation ¶
Index ¶
- func CORSMiddleware() gin.HandlerFunc
- func NoStrictAuth(j *jwt.JWT, logger *log.Logger) gin.HandlerFunc
- func RequestLogMiddleware(logger *log.Logger) gin.HandlerFunc
- func ResponseLogMiddleware(logger *log.Logger) gin.HandlerFunc
- func SignMiddleware(logger *log.Logger, conf *viper.Viper) gin.HandlerFunc
- func StrictAuth(j *jwt.JWT, logger *log.Logger) gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
func NoStrictAuth ¶
func RequestLogMiddleware ¶
func RequestLogMiddleware(logger *log.Logger) gin.HandlerFunc
func ResponseLogMiddleware ¶
func ResponseLogMiddleware(logger *log.Logger) gin.HandlerFunc
func SignMiddleware ¶
func StrictAuth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.