Documentation ¶
Overview ¶
Package rate provides a set of rate-limit proxy and router middlewares using the golang.org/x/time/rate lib
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLimiterStore ¶
func NewMemoryStore ¶
func NewMemoryStore(maxRate float64, capacity int) sonicrate.LimiterStore
Types ¶
Click to show internal directories.
Click to hide internal directories.