Documentation ¶
Index ¶
Constants ¶
View Source
const PluginType = "rate_limiter"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RateLimiter ¶
type RateLimiter struct {
// contains filtered or unexported fields
}
func New ¶
func New(args Args) (*RateLimiter, error)
func (*RateLimiter) Close ¶
func (s *RateLimiter) Close() error
func (*RateLimiter) Match ¶ added in v5.3.0
func (s *RateLimiter) Match(ctx context.Context, qCtx *query_context.Context) (bool, error)
Click to show internal directories.
Click to hide internal directories.