messages config_manager
This commit is contained in:
parent
db297a817b
commit
3b57853501
|
@ -1,18 +1,31 @@
|
||||||
package config_manager
|
package config_manager
|
||||||
|
|
||||||
|
|
||||||
/* global config 예제
|
/* global config 예제
|
||||||
central:
|
Central:
|
||||||
address: "http://localhost:9090"
|
Address: "http://localhost:9090"
|
||||||
port: 443
|
Port: 443
|
||||||
log_path: "./bin/log.xml"
|
Log_Path: "./bin/log.xml"
|
||||||
|
Paths:
|
||||||
|
RootFolder : "/home/cm2/"
|
||||||
|
ConfigFolder : "/home/cm2/config/container/"
|
||||||
|
BinaryFolder : "/home/cm2/container/"
|
||||||
|
PidFolder : "/home/cm2/pids/"
|
||||||
|
ScriptFile : "start"
|
||||||
|
IntervalSecond:10
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
type GlobalConfig struct {
|
type GlobalConfig struct {
|
||||||
Central struct {
|
Central struct {
|
||||||
Address string
|
Address string
|
||||||
Port int
|
Port int
|
||||||
}
|
}
|
||||||
Log_Path string
|
Log_Path string
|
||||||
|
Paths struct {
|
||||||
|
RootFolder string
|
||||||
|
ConfigFolder string
|
||||||
|
BinaryFolder string
|
||||||
|
PidFolder string
|
||||||
|
ScriptFile string
|
||||||
|
}
|
||||||
|
IntervalSecond int
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user