1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-29 11:31:30 +00:00

better go style

This commit is contained in:
JessonChan 2015-04-26 01:23:18 +08:00
parent dc58ec8316
commit 4498a02c15

View File

@ -51,7 +51,7 @@ import (
"time"
)
var defaultSetting = BeegoHttpSettings{false, "beegoServer", 60 * time.Second, 60 * time.Second, nil, nil, nil, false, true}
var defaultSetting = BeegoHttpSettings{UserAgent: "beegoServer", ConnectionTimeout: 60 * time.Second, ReadWriteTimeout: 60 * time.Second, Giz: true}
var defaultCookieJar http.CookieJar
var settingMutex sync.Mutex