Update README
Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -33,6 +33,7 @@ The default timeout is `60` seconds, function prototype: | ... | @@ -33,6 +33,7 @@ The default timeout is `60` seconds, function prototype: |
| 33 | SetTimeout(connectTimeout, readWriteTimeout time.Duration) | 33 | SetTimeout(connectTimeout, readWriteTimeout time.Duration) |
| 34 | 34 | ||
| 35 | Exmaple: | 35 | Exmaple: |
| 36 | |||
| 36 | // GET | 37 | // GET |
| 37 | httplib.Get("http://beego.me/").SetTimeout(100 * time.Second, 30 * time.Second) | 38 | httplib.Get("http://beego.me/").SetTimeout(100 * time.Second, 30 * time.Second) |
| 38 | 39 | ... | ... |
-
Please register or sign in to post a comment