(file *ini.File)
| 107 | } |
| 108 | |
| 109 | func LoadQiNiuYun(file *ini.File) { |
| 110 | Bucket = file.Section("QiNiuYun").Key("Bucket").String() |
| 111 | AccessKey = file.Section("QiNiuYun").Key("AccessKey").String() |
| 112 | SecretKey = file.Section("QiNiuYun").Key("SecretKey").String() |
| 113 | Domain = file.Section("QiNiuYun").Key("Domain").String() |
| 114 | wg.Done() |
| 115 | } |
| 116 | |
| 117 | func LoadRabbitMQ(file *ini.File) { |
| 118 | RabbitMQ = file.Section("RabbitMQ").Key("RabbitMQ").String() |