mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 15:20:54 +00:00
Update README
This commit is contained in:
parent
e70537f8b3
commit
6ae8bc1a16
@ -33,6 +33,7 @@ The default timeout is `60` seconds, function prototype:
|
||||
SetTimeout(connectTimeout, readWriteTimeout time.Duration)
|
||||
|
||||
Exmaple:
|
||||
|
||||
// GET
|
||||
httplib.Get("http://beego.me/").SetTimeout(100 * time.Second, 30 * time.Second)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user