messages config_manager

This commit is contained in:
jackdaw@loafle.com 2017-04-27 16:04:12 +09:00
parent db297a817b
commit 3b57853501

View File

@ -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
} }