glimiter

Types

pub opaque type Limiter

Functions

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