NewClient returns a new Client.
(config Config)
| 117 | |
| 118 | // NewClient returns a new Client. |
| 119 | func NewClient(config Config) *Client { |
| 120 | return &Client{ |
| 121 | clock: new(internal.RealTime), |
| 122 | jobPollingInterval: config.JobPollingInterval, |
| 123 | jobPollingTimeout: config.JobPollingTimeout, |
| 124 | Requester: NewRequester(config), |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | // TestClient returns a new client explicitly meant for internal testing. This |
| 129 | // should not be used for production code. |
no test coverage detected