1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 14:11:28 +00:00

Update README

This commit is contained in:
陈小玉 2014-08-21 00:08:08 +08:00
parent e70537f8b3
commit 6ae8bc1a16

View File

@ -33,6 +33,7 @@ The default timeout is `60` seconds, function prototype:
SetTimeout(connectTimeout, readWriteTimeout time.Duration) SetTimeout(connectTimeout, readWriteTimeout time.Duration)
Exmaple: Exmaple:
// GET // GET
httplib.Get("http://beego.me/").SetTimeout(100 * time.Second, 30 * time.Second) httplib.Get("http://beego.me/").SetTimeout(100 * time.Second, 30 * time.Second)