mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
b8014fdddf
Implementation use internal eventBus to enable loose counting in the app. read more at https://prometheus.io/ Closes #98
18 lines
519 B
JavaScript
18 lines
519 B
JavaScript
'use strict';
|
|
|
|
|
|
exports.createAPI = function (router, config) {
|
|
require('./event')(router, config);
|
|
require('./feature')(router, config);
|
|
require('./feature-archive')(router, config);
|
|
require('./strategy')(router, config);
|
|
require('./health-check')(router, config);
|
|
require('./metrics')(router, config);
|
|
};
|
|
|
|
exports.createLegacy = function (router, config) {
|
|
require('./feature')(router, config);
|
|
require('./health-check')(router, config);
|
|
require('./backstage')(router, config);
|
|
};
|