forked from animir/node-rate-limiter-flexible
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
23 lines (22 loc) · 904 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const RateLimiterRedis = require('./lib/RateLimiterRedis');
const RateLimiterMongo = require('./lib/RateLimiterMongo');
const RateLimiterMySQL = require('./lib/RateLimiterMySQL');
const RateLimiterPostgres = require('./lib/RateLimiterPostgres');
const { RateLimiterClusterMaster, RateLimiterClusterMasterPM2, RateLimiterCluster } = require('./lib/RateLimiterCluster');
const RateLimiterMemory = require('./lib/RateLimiterMemory');
const RateLimiterMemcache = require('./lib/RateLimiterMemcache');
const RLWrapperBlackAndWhite = require('./lib/RLWrapperBlackAndWhite');
const RateLimiterUnion = require('./lib/RateLimiterUnion');
module.exports = {
RateLimiterRedis,
RateLimiterMongo,
RateLimiterMySQL,
RateLimiterPostgres,
RateLimiterMemory,
RateLimiterMemcache,
RateLimiterClusterMaster,
RateLimiterClusterMasterPM2,
RateLimiterCluster,
RLWrapperBlackAndWhite,
RateLimiterUnion
};