Here you'll find middleware ready to use with Gin Framework. Submit your pull request, either with the package in a folder, or by adding a link to this README.md.
If adding a package directly, don't forget to create a README.md inside with author name.
If adding a link to your own repository, please follow this example:
Each author is responsible for maintaining their own code, although if you submit as a package, you allow the community to fix it. You can also submit a pull request to fix an existing package.
List of external middleware
goswag - Wrapper to create swagger docs easily from your endpoints
RestGate - Secure authentication for REST API endpoints
staticbin - middleware/handler for serving static files from binary data
static An alternative static assets handler for the gin framework.
xss-mw - XssMw is a middleware designed to "auto remove XSS" from user submitted input
gin-helmet - Collection of simple security middleware.
gin-jwt-session - middleware to provide JWT/Session/Flashes, easy to use while also provide options for adjust if necessary. Provide sample too.
goview - a lightweight, minimalist and idiomatic template library
ginvalidator - A robust and lightweight validation middleware for the Gin framework, simplifying input validation with customizable rules and error handling.
gin-redis-ip-limiter - Request limiter based on ip address. It works with redis and with a sliding-window mechanism.
gin-method-override - Method override by POST form param _method, inspired by Ruby's same name rack
gin-access-limit - An access-control middleware by specifying allowed source CIDR notations.
ginrpc - Gin middleware/handler auto binding tools. support object register by annotated route like beego
logging - logging provide GinLogger uses zap to log detailed access logs in JSON or text format with trace id, supports flexible and rich configuration, and supports automatic reporting of log events above error level to sentry