code: function parseMiddleware(config) {
    for(const i in config) {
      if(config[i].target === 'init') {
        for(const j in config[i].action) {
          let controller = config[i].action[j], action = null;
          if(config[i].action[j].indexOf('#') !== -1) {
            [controller, action] = config[i].action[j].split('#');
          }
  
          GlobalMiddleWares.push({
            controller,
            action,
            debug: {
              target: 'all',
              controller: config[i].action[j],
              action: action,
            }
          });
        }
      } else if(config[i].target === '*') {
        for(const j in config[i].action) {
          extractMiddleware(config[i].action[j], ['*']);
        }
      }
      else {
  
        for(const j in config[i].action) {
          extractMiddleware(config[i].action[j], config[i].target, config[i]);
        }
      }
    }
  }
docs: Parse middlewares
  @param config