Packages

p

com.redis

ratelimit

package ratelimit

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ratelimit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Config(host: String, port: Int, maxTokens: Long, timeWindowInSec: Long) extends Product with Serializable
  2. case class RedisConnectionError(msg: String) extends Exception with RedisRateLimitError with Product with Serializable
  3. sealed trait RedisRateLimitError extends Exception

Value Members

  1. def rateLimited[F[_], A](fa: F[A], key: String, maxTokens: Long, timeWindowInSec: Long)(implicit redisClient: RedisClient, F: Sync[F]): F[A]
  2. def rateLimited[F[_], A](fa: F[A], key: String)(implicit config: Config, F: Sync[F]): F[A]
  3. object RateLimitExceeded extends Exception with RedisRateLimitError

Inherited from AnyRef

Inherited from Any

Ungrouped