glimiter

Types

pub opaque type Limiter(a)

Functions

pub fn limit_guard(
  when limiter: Limiter(a),
  with key: a,
  return consequence: b,
  otherwise alternetive: fn() -> b,
) -> b
pub fn new_limiter(count: Int, size: Duration) -> Limiter(a)
pub fn update(limiter: Limiter(a), key: a) -> Limiter(a)
Search Document