@@ -24,50 +24,52 @@ import (
24
24
var xrayTemplateConfig string
25
25
26
26
var defaultValueMap = map [string ]string {
27
- "xrayTemplateConfig" : xrayTemplateConfig ,
28
- "webListen" : "" ,
29
- "webDomain" : "" ,
30
- "webPort" : "2053" ,
31
- "webCertFile" : "" ,
32
- "webKeyFile" : "" ,
33
- "secret" : random .Seq (32 ),
34
- "webBasePath" : "/" ,
35
- "sessionMaxAge" : "60" ,
36
- "pageSize" : "50" ,
37
- "expireDiff" : "0" ,
38
- "trafficDiff" : "0" ,
39
- "remarkModel" : "-ieo" ,
40
- "timeLocation" : "Local" ,
41
- "tgBotEnable" : "false" ,
42
- "tgBotToken" : "" ,
43
- "tgBotProxy" : "" ,
44
- "tgBotAPIServer" : "" ,
45
- "tgBotChatId" : "" ,
46
- "tgRunTime" : "@daily" ,
47
- "tgBotBackup" : "false" ,
48
- "tgBotLoginNotify" : "true" ,
49
- "tgCpu" : "80" ,
50
- "tgLang" : "en-US" ,
51
- "secretEnable" : "false" ,
52
- "subEnable" : "false" ,
53
- "subListen" : "" ,
54
- "subPort" : "2096" ,
55
- "subPath" : "/sub/" ,
56
- "subDomain" : "" ,
57
- "subCertFile" : "" ,
58
- "subKeyFile" : "" ,
59
- "subUpdates" : "12" ,
60
- "subEncrypt" : "true" ,
61
- "subShowInfo" : "true" ,
62
- "subURI" : "" ,
63
- "subJsonPath" : "/json/" ,
64
- "subJsonURI" : "" ,
65
- "subJsonFragment" : "" ,
66
- "subJsonNoises" : "" ,
67
- "subJsonMux" : "" ,
68
- "subJsonRules" : "" ,
69
- "datepicker" : "gregorian" ,
70
- "warp" : "" ,
27
+ "xrayTemplateConfig" : xrayTemplateConfig ,
28
+ "webListen" : "" ,
29
+ "webDomain" : "" ,
30
+ "webPort" : "2053" ,
31
+ "webCertFile" : "" ,
32
+ "webKeyFile" : "" ,
33
+ "secret" : random .Seq (32 ),
34
+ "webBasePath" : "/" ,
35
+ "sessionMaxAge" : "60" ,
36
+ "pageSize" : "50" ,
37
+ "expireDiff" : "0" ,
38
+ "trafficDiff" : "0" ,
39
+ "remarkModel" : "-ieo" ,
40
+ "timeLocation" : "Local" ,
41
+ "tgBotEnable" : "false" ,
42
+ "tgBotToken" : "" ,
43
+ "tgBotProxy" : "" ,
44
+ "tgBotAPIServer" : "" ,
45
+ "tgBotChatId" : "" ,
46
+ "tgRunTime" : "@daily" ,
47
+ "tgBotBackup" : "false" ,
48
+ "tgBotLoginNotify" : "true" ,
49
+ "tgCpu" : "80" ,
50
+ "tgLang" : "en-US" ,
51
+ "secretEnable" : "false" ,
52
+ "subEnable" : "false" ,
53
+ "subListen" : "" ,
54
+ "subPort" : "2096" ,
55
+ "subPath" : "/sub/" ,
56
+ "subDomain" : "" ,
57
+ "subCertFile" : "" ,
58
+ "subKeyFile" : "" ,
59
+ "subUpdates" : "12" ,
60
+ "subEncrypt" : "true" ,
61
+ "subShowInfo" : "true" ,
62
+ "subURI" : "" ,
63
+ "subJsonPath" : "/json/" ,
64
+ "subJsonURI" : "" ,
65
+ "subJsonFragment" : "" ,
66
+ "subJsonNoises" : "" ,
67
+ "subJsonMux" : "" ,
68
+ "subJsonRules" : "" ,
69
+ "datepicker" : "gregorian" ,
70
+ "warp" : "" ,
71
+ "externalTrafficInformEnable" : "false" ,
72
+ "externalTrafficInformURI" : "" ,
71
73
}
72
74
73
75
type SettingService struct {}
0 commit comments