Documentation ¶
Index ¶
- func AccessLog() gin.HandlerFunc
- func AppInfo() gin.HandlerFunc
- func CSRF(authKey []byte, domain string) gin.HandlerFunc
- func CircuitBreaker() gin.HandlerFunc
- func ContextTimeout(t time.Duration) func(c *gin.Context)
- func Cors() gin.HandlerFunc
- func Cron(db *gorm.DB) gin.HandlerFunc
- func JWT() gin.HandlerFunc
- func RateLimiter(l limiter.BaseLimiter) gin.HandlerFunc
- func Recovery() gin.HandlerFunc
- func Redis() gin.HandlerFunc
- func Tracing() func(c *gin.Context)
- func Translations() gin.HandlerFunc
- type AccessLogWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLog ¶
func AccessLog() gin.HandlerFunc
func AppInfo ¶
func AppInfo() gin.HandlerFunc
func CircuitBreaker ¶
func CircuitBreaker() gin.HandlerFunc
func Cors ¶
func Cors() gin.HandlerFunc
func JWT ¶
func JWT() gin.HandlerFunc
func RateLimiter ¶
func RateLimiter(l limiter.BaseLimiter) gin.HandlerFunc
func Recovery ¶
func Recovery() gin.HandlerFunc
func Redis ¶
func Redis() gin.HandlerFunc
func Translations ¶
func Translations() gin.HandlerFunc
Types ¶
type AccessLogWriter ¶
type AccessLogWriter struct { gin.ResponseWriter // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.