Package ratelimit implements rate limiter.
const OkMessage = "OK"
OkMessage is the message returned when it's ok to request.
var ( // RootContextCanceled is returned when the parent context was canceled. RootContextCanceled = "root " + canceledMsg )
This section is empty.
type RequestLimiter ¶
RequestLimiter limits requests.