func (self *FopImgOp) buildConfig(conf *service.Config) { conf.HostIp = self.Env.Ips // map string string conf.AccessKey = self.Env.AccessKey conf.SecretKey = self.Env.SecretKey conf.Host = self.Env.Hosts // map string string conf.BlockBits = self.BlockBits conf.PutChunkSize = self.ChunkSize }
func (self *UpResuPut) buildConfig(conf *service.Config) { conf.HostIp = self.Env.Ips // map string string conf.AccessKey = self.Env.AccessKey conf.SecretKey = self.Env.SecretKey conf.Host = self.Env.Hosts // map string string conf.BlockBits = self.BlockBits conf.PutChunkSize = self.ChunkSize conf.RPutRetryTimes = self.PutRetryTimes }