Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcurrencyLimiter ¶
func ConcurrencyLimiter(cfg ConcurrencyConfig) echo.MiddlewareFunc
ConcurrencyLimiter returns an Echo middleware that limits concurrent handler executions. Excess requests are queued up to MaxQueueSize. Requests that cannot enter the queue receive 503 (QUEUE_FULL). Requests that wait longer than QueueTimeout receive 503 (QUEUE_TIMEOUT).
Types ¶
Click to show internal directories.
Click to hide internal directories.