Documentation ¶
Overview ¶
Package middleware provides a set of middleware for the router.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RateLimitable ¶
func RateLimitable(l logger.Logger, cc *cachecontainer.CacheContainer, hc *http.Client) cmdroute.Middleware
RateLimitable returns a middleware that rate limits users.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.