MCPcopy Create free account
hub / github.com/UESTCByteDance/ByteRhythm / LoadService

Function LoadService

config/config.go:99–107  ·  view source on GitHub ↗
(file *ini.File)

Source from the content-addressed store, hash-verified

97}
98
99func 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
109func LoadQiNiuYun(file *ini.File) {
110 Bucket = file.Section("QiNiuYun").Key("Bucket").String()

Callers 1

InitFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected