Skip to main content
Module

x/oak_rate_limit/mod.ts>MapStore

Rate-limiting middleware for Oak server on Deno
Latest
class MapStore
extends Store
import { MapStore } from "https://deno.land/x/oak_rate_limit@v0.1.1/mod.ts";

Constructors

new
MapStore()

Properties

private
readonly
store: Map<string, Ratelimit>

Methods

delete(ip: string)
get(ip: string)
has(ip: string)
set(ip: string, ratelimit: Ratelimit)