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

Function LoadGin

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

Source from the content-addressed store, hash-verified

91}
92
93func LoadGin(file *ini.File) {
94 HttpHost = file.Section("Gin").Key("HttpHost").String()
95 HttpPort = file.Section("Gin").Key("HttpPort").String()
96 wg.Done()
97}
98
99func LoadService(file *ini.File) {
100 UserServiceAddress = file.Section("Service").Key("UserServiceAddress").String()

Callers 1

InitFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected