Versions in this module Expand all Collapse all v0 v0.0.2 Apr 10, 2024 v0.0.1 Apr 10, 2024 Changes in this version + func Cors(conf CorsConfig) gin.HandlerFunc + func GinLogger() gin.HandlerFunc + func GinRecovery(stack bool) gin.HandlerFunc + func IPWhiteList(whiteList []string) gin.HandlerFunc + func RateLimiter(client *libredis.Client, limitStr string) gin.HandlerFunc + func TokenValidate() gin.HandlerFunc + type CorsConfig struct + AllowCredentials bool + AllowHeaders []string + AllowMethods []string + AllowOrigins []string + MaxAge int