Exemple #1
0
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
}
Exemple #2
0
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
}