RedisRateLimiter

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

case class RateLimitInfo(remaining: Long, total: Long, reset: FiniteDuration)
case class RateLimited(namespace: String, info: RateLimitInfo) extends Throwable with NoStackTrace

Value members

Concrete methods

def create[F[_] : Async](connection: RedisConnection[F], max: Long, duration: FiniteDuration, namespace: String): RedisRateLimiter[F]