Skip to content

Commit

Permalink
docs(go): Added HTTPClient option (getsentry#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek authored Nov 18, 2019
1 parent d104ffc commit 3a66be1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/collections/_documentation/platforms/go/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ type ClientOptions struct {
Environment string
// Maximum number of breadcrumbs.
MaxBreadcrumbs int
// An optional pointer to `http.Client` that will be used with a default HTTPTransport.
// Using your own client will make HTTPTransport, HTTPProxy, HTTPSProxy and CaCerts options ignored.
HTTPClient *http.Client
// An optional pointer to `http.Transport` that will be used with a default HTTPTransport.
// Using your own transport will make HTTPProxy, HTTPSProxy and CaCerts options ignored.
HTTPTransport *http.Transport
// An optional HTTP proxy to use.
// This will default to the `http_proxy` environment variable.
Expand Down

0 comments on commit 3a66be1

Please sign in to comment.