//
pkg.gl
Category
github.com/Excel-MEC/excelplay-backend-kryptos
pkg
middlewares
package
0.0.0-20201223150435-69509e0819fc
Repository:
https://github.com/excel-mec/excelplay-backend-kryptos.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
1
Files
82 SLOC
#
Functions
AuthMiddleware
AuthMiddleware takes a httperrors.Handler and calls it if the JWT in the headers is valid.
ErrorsMiddleware
ErrorsMiddleware handles the logging and error handling when http errors occur.
LoggerMiddleware
LoggerMiddleware is a middleware to log all incoming requests.