| 97 | } |
| 98 | |
| 99 | func LoadService(file *ini.File) { |
| 100 | UserServiceAddress = file.Section("Service").Key("UserServiceAddress").String() |
| 101 | VideoServiceAddress = file.Section("Service").Key("VideoServiceAddress").String() |
| 102 | MessageServiceAddress = file.Section("Service").Key("MessageServiceAddress").String() |
| 103 | CommentServiceAddress = file.Section("Service").Key("CommentServiceAddress").String() |
| 104 | RelationServiceAddress = file.Section("Service").Key("RelationServiceAddress").String() |
| 105 | FavoriteServiceAddress = file.Section("Service").Key("FavoriteServiceAddress").String() |
| 106 | wg.Done() |
| 107 | } |
| 108 | |
| 109 | func LoadQiNiuYun(file *ini.File) { |
| 110 | Bucket = file.Section("QiNiuYun").Key("Bucket").String() |