package
0.0.0-20230410102157-e32e58420155
Repository: https://github.com/joohyeonglee/clean-gin.git
Documentation: pkg.go.dev
# Functions
NewCorsMiddleware creates new cors middleware.
NewDatabaseTrx creates new database transactions middleware.
NewJWTAuthMiddleware creates new jwt auth middleware.
NewMiddlewares creates new middlewares Register the middleware that should be applied directly (globally).
# Variables
Module Middleware exported.
# Structs
CorsMiddleware middleware for cors.
DatabaseTrx middleware for transactions support for database.
JWTAuthMiddleware middleware for jwt authentication.
# Interfaces
IMiddleware middleware interface.
# Type aliases
Middlewares contains multiple middleware.