package
0.13.0
Repository: https://github.com/go-kit/kit.git
Documentation: pkg.go.dev

# Functions

NewDelayingLimiter returns an endpoint.Middleware that acts as a request throttler.
NewErroringLimiter returns an endpoint.Middleware that acts as a rate limiter.

# Variables

ErrLimited is returned in the request path when the rate limiter is triggered and the request is rejected.

# Interfaces

Allower dictates whether or not a request is acceptable to run.
Waiter dictates how long a request must be delayed.

# Type aliases

AllowerFunc is an adapter that lets a function operate as if it implements Allower.
WaiterFunc is an adapter that lets a function operate as if it implements Waiter.