docs: function createRedis(config) {
  
      if (!config) {
          console.debug('createRedis config is NULL');
          return;
      }
      // 如果为文件路径. 加载文件
      if (typeof config === 'string') {
          config = Utils.UString.readConfig(config);  // JSON.parse(fs.readFileSync(config, "utf8"));
      }
      var opts = {};
      if (config.proxy) {
          opts.no_ready_check = config.proxy;
          if (config.auth_pass) {
              opts.auth_pass = config.auth_pass;
          }
          if (config.debug_mode) {
              opts.debug_mode = config.debug_mode;
          }
          if (config.encoding) {
              opts.encoding = config.encoding;
          }
          if (config.return_buffers) {
              opts.return_buffers = config.return_buffers;
          }
  
          var client = redis.createClient(config.port, config.host, opts);
          client.on('error', function (err) {
              console.error('连接Redis出现错误: %s', err.stack);
          });
          pools[config.name] = {};
          pools[config.name].client = client;
          pools[config.name].proxy = true;
      } else {
          opts.no_ready_check = true;
          if (config.auth_pass) {
              opts.auth_pass = config.auth_pass;
          }
          if (config.debug_mode) {
              opts.debug_mode = config.debug_mode;
          }
          if (config.encoding) {
              opts.encoding = config.encoding;
          }
  
          var _pool = gpool.Pool({
              name: config.name,
              dbIndex: 0,
              create: function (cb) {
                  var client = redis.createClient(config.port, config.host, opts);
                  client.on('error', function (err) {
                      console.error('连接Redis出现错误: %s', err.stack);
                  });
                  cb(null, client);
              },
              destroy: function (client) {
                  if (client) {
                      client.quit();
                  }
              },
              max: 1000,
              idleTimeoutMillis: 30000,
              log: false
          });
          pools[config.name] = {};
          pools[config.name].client = _pool;
          pools[config.name].proxy = false;
      }
  
      if (config.auth_pass) {
          pools[config.name].auth_pass = config.auth_pass;
      }
  }