NewClient returns an http.Client with the correct timeouts
(ctx context.Context)
| 304 | |
| 305 | // NewClient returns an http.Client with the correct timeouts |
| 306 | func NewClient(ctx context.Context) *http.Client { |
| 307 | return NewClientCustom(ctx, nil) |
| 308 | } |
| 309 | |
| 310 | // NewClientCustom returns an http.Client with the correct timeouts. |
| 311 | // It allows customizing the transport, using NewTransportCustom. |
searching dependent graphs…