net/http Client
A client is an HTTP client. Its value zero (DefaultClient) is a usable client that uses DefaultTransport.
type Client struct {
Transport RoundTripper
CheckRedirect func(req *Request, via []*Request) error
Jar CookieJar
Timeout time.Duration
}
Client Transport is typically internally stateful (cached TCP connections), so Clients should be reused rather than created as needed. Clients are safe for concurrent use by
several goroutines.