Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #18 from tleyden/patch-1

Fixes #17 add some docs re client re-use
  • Loading branch information...
commit c121dfe45d66997e43e25a6823fbe7466c8403fe 2 parents daccf73 + fab956f
@mreiferson authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  README.md
View
2  README.md
@@ -34,6 +34,8 @@ if err != nil {
defer resp.Body.Close()
```
+*Note:* you will want to re-use a single client object rather than creating one for each request, otherwise you will end up [leaking connections](https://code.google.com/p/go/issues/detail?id=4049#c3).
+
### Reference Docs
For API docs see [godoc](http://godoc.org/github.com/mreiferson/go-httpclient).
Please sign in to comment.
Something went wrong with that request. Please try again.