"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const koa_router_1 = __importDefault(require("koa-router"));
const typedi_1 = require("typedi");
const controller_1 = require("./controller");
function default_1() {
    const router = new koa_router_1.default();
    typedi_1.Container.get(controller_1.ConfigController).regist(router);
    typedi_1.Container.get(controller_1.ProfileController).regist(router);
    typedi_1.Container.get(controller_1.HostController).regist(router);
    typedi_1.Container.get(controller_1.HttpTrafficController).regist(router);
    typedi_1.Container.get(controller_1.MockDataController).regist(router);
    typedi_1.Container.get(controller_1.RuleController).regist(router);
    typedi_1.Container.get(controller_1.UtilsController).regist(router);
    return router.routes();
}
exports.default = default_1;
//# sourceMappingURL=router.js.map