Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gofiber/fiber
/ New
Method
New
middleware/limiter/limiter.go:20–20 ·
view source on GitHub ↗
(config *Config)
Source
from the content-addressed store, hash-verified
18
// handler using the provided configuration.
19
type
Handler
interface
{
20
New(config *Config) fiber.Handler
21
}
22
23
// New creates a new middleware handler
Callers
15
helpers.go
File · 0.65
Test_Listen_BeforeServeFunc
Function · 0.65
Test_Hook_OnName_Error
Function · 0.65
Test_Hook_OnGroupName_Error
Function · 0.65
Test_Hook_OnPostShutdown
Function · 0.65
Test_executeOnRouteHooks_ErrorWithMount
Function · 0.65
Test_executeOnNameHooks_ErrorWithMount
Function · 0.65
Test_executeOnGroupHooks_ErrorWithMount
Function · 0.65
Test_executeOnGroupNameHooks_ErrorWithMount
Function · 0.65
Test_executeOnListenHooks_Error
Function · 0.65
Test_executeOnPreStartupMessageHooks_Error
Function · 0.65
Test_executeOnPostStartupMessageHooks_Error
Function · 0.65
Implementers
2
SlidingWindow
middleware/limiter/limiter_sliding.go
FixedWindow
middleware/limiter/limiter_fixed.go
Calls
no outgoing calls
Tested by
15
Test_Listen_BeforeServeFunc
Function · 0.52
Test_Hook_OnName_Error
Function · 0.52
Test_Hook_OnGroupName_Error
Function · 0.52
Test_Hook_OnPostShutdown
Function · 0.52
Test_executeOnRouteHooks_ErrorWithMount
Function · 0.52
Test_executeOnNameHooks_ErrorWithMount
Function · 0.52
Test_executeOnGroupHooks_ErrorWithMount
Function · 0.52
Test_executeOnGroupNameHooks_ErrorWithMount
Function · 0.52
Test_executeOnListenHooks_Error
Function · 0.52
Test_executeOnPreStartupMessageHooks_Error
Function · 0.52
Test_executeOnPostStartupMessageHooks_Error
Function · 0.52
Test_executeOnPreShutdownHooks_Error
Function · 0.52