First commit
This commit is contained in:
16
framework/node_modules/node-rate-limiter-flexible/lib/constants.js
generated
vendored
Normal file
16
framework/node_modules/node-rate-limiter-flexible/lib/constants.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
const LIMITER_TYPES = {
|
||||
MEMORY: 'memory',
|
||||
CLUSTER: 'cluster',
|
||||
MEMCACHE: 'memcache',
|
||||
MONGO: 'mongo',
|
||||
REDIS: 'redis',
|
||||
MYSQL: 'mysql',
|
||||
POSTGRES: 'postgres',
|
||||
};
|
||||
|
||||
const ERR_UNKNOWN_LIMITER_TYPE_MESSAGE = 'Unknown limiter type. Use one of LIMITER_TYPES constants.';
|
||||
|
||||
module.exports = {
|
||||
LIMITER_TYPES,
|
||||
ERR_UNKNOWN_LIMITER_TYPE_MESSAGE,
|
||||
};
|
||||
Reference in New Issue
Block a user