This commit is contained in:
hoteas
2019-05-27 05:46:03 +00:00
parent a3d3155e9b
commit 374e0ab2ac
2 changed files with 42 additions and 6 deletions
+4 -1
View File
@@ -16,11 +16,14 @@ var Config = Map{
"dbUser": "root",
"dbPwd": "root",
"dbPort": "3306",
"port": "80",
"port": "0",
"cacheShortTime": 60 * 60 * 2,
"cacheLongTime": 60 * 60 * 24 * 30,
"sessionName": "HOTIME",
"error": Map{},
"debug":1,//debug 0关闭1开启
"modeRouterStrict":false,//路由严格模式/a/b/c
"tlsPort":"0",
"tlsKey":"",
"tlsCert":"",
}