|
@@ -20,6 +20,7 @@ type config struct {
|
|
|
MsgserveraddrFile string `json:"msgserveraddrfile"`
|
|
|
Editoraddr string `json:"editoraddr"`
|
|
|
Tesseractadd string `json:"tesseractadd"`
|
|
|
+ BidEditor dbInfo `json:"bideditor"`
|
|
|
Testdir string `json:"testdir"`
|
|
|
Uploadevent int `json:"uploadevent"`
|
|
|
Redistype string `json:"redistype"`
|
|
@@ -95,4 +96,12 @@ type config struct {
|
|
|
TimeOut time.Duration `json:"timeout"`
|
|
|
}
|
|
|
|
|
|
+type dbInfo struct {
|
|
|
+ Addr string
|
|
|
+ Db string
|
|
|
+ Size int
|
|
|
+ Username string
|
|
|
+ Password string
|
|
|
+}
|
|
|
+
|
|
|
var Config config
|