Versions in this module Expand all Collapse all v1 v1.1.0 Nov 7, 2026 Changes in this version + const HeaderTraceParent v1.0.0 Nov 7, 2026 Changes in this version + const HeaderRequestID + const HeaderTraceID + func AccessLog(opt AccessLogOptions) fiber.Handler + func CORS(opt CORSOptions) fiber.Handler + func Chain(opt ChainOptions) []fiber.Handler + func Identity(resolve IdentityResolver) fiber.Handler + func RateLimit(opt RateLimitOptions) fiber.Handler + func Recover() fiber.Handler + func RequestID() fiber.Handler + func SecureHeaders(opt SecureHeadersOptions) fiber.Handler + func Timeout(d time.Duration) fiber.Handler + type AccessLogOptions struct + LogSuccess bool + SkipPaths []string + SlowThreshold time.Duration + type CORSOptions struct + AllowCredentials bool + AllowHeaders []string + AllowMethods []string + AllowOriginFunc func(origin string) bool + AllowOrigins []string + ExposeHeaders []string + MaxAge time.Duration + type ChainOptions struct + AccessLog AccessLogOptions + Identity IdentityResolver + SecureHeaders *SecureHeadersOptions + Timeout time.Duration + type IdentityResolver func(c fiber.Ctx) (ctxkit.Tenant, ctxkit.Actor, error) + type MemoryRateLimitStore struct + func NewMemoryRateLimitStore() *MemoryRateLimitStore + func (s *MemoryRateLimitStore) Incr(key string, window time.Duration) (int, time.Time, error) + type RateLimitOptions struct + FailOpen *bool + KeyFunc func(c fiber.Ctx) string + Max int + Skip func(c fiber.Ctx) bool + Store RateLimitStore + Window time.Duration + type RateLimitStore interface + Incr func(key string, window time.Duration) (count int, resetAt time.Time, err error) + type SecureHeadersOptions struct + ContentSecurityPolicy string + FrameOptions string + HSTSMaxAge time.Duration