code: function pluginInit(){
          var pluginList = config.plugins = config.plugins instanceof Array ? config.plugins : [],
              pluginsConfig, temp, serverConfig;
          
          if(!pluginList.length) return {};
          
          pluginsConfig = {__userPluginList: []};
          temp = utils.extend(true, {}, dft, config);
          serverConfig = {
              hostname: temp.hostname,
              port: temp.port,
              protocol: temp.protocol
          };
      
          for(var i = 0, len = pluginList.length; i < len; i++){
              var plu = pluginList[i], name = plu.name, open = plu.open;
              if(open && name){
                  pluginsConfig.__userPluginList.push(name);
                  pluginsConfig[name] = plu.param || {};
                  pluginsConfig[name].__serverConfig = serverConfig;
                  pluginsConfig[name].__utils = utils;
              }
          }
          // 注册并初始化插件配置返回插件的server配置
          return pluginList.length ? plugins.init(pluginsConfig) : {};
      }
docs: 插件参数处理