C returns the default client.
()
| 982 | |
| 983 | // C returns the default client. |
| 984 | func C() *Client { |
| 985 | return defaultClient.Load() |
| 986 | } |
| 987 | |
| 988 | // Replace replaces the defaultClient with a new one, returning a function to restore the old client. |
| 989 | func Replace(c *Client) func() { |