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

Function LoadRabbitMQ

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

Source from the content-addressed store, hash-verified

115}
116
117func LoadRabbitMQ(file *ini.File) {
118 RabbitMQ = file.Section("RabbitMQ").Key("RabbitMQ").String()
119 RabbitMQHost = file.Section("RabbitMQ").Key("RabbitMQHost").String()
120 RabbitMQPort = file.Section("RabbitMQ").Key("RabbitMQPort").String()
121 RabbitMQUser = file.Section("RabbitMQ").Key("RabbitMQUser").String()
122 RabbitMQPassWord = file.Section("RabbitMQ").Key("RabbitMQPassWord").String()
123 wg.Done()
124}
125
126func LoadRedis(file *ini.File) {
127 RedisHost = file.Section("Redis").Key("RedisHost").String()

Callers 1

InitFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected