code: public static RedisSingleServerConfig buildRedisConfig(String host, int port, String password) {
          RedisSingleServerConfig config = new RedisSingleServerConfig();
          config.setAddress(host + ":" + port);
          config.setPassword(password);
          return config;
      }
docs: 根据host、port、password构建一个redis单机配置文件
  
  @param host     redis host
  @param port     redis port
  @param password redis password
  @return redis 单机配置文件