*Client SetCurrent sets the active home client used by runtime integrations.
(client *Client)
| 6 | |
| 7 | // SetCurrent sets the active home client used by runtime integrations. |
| 8 | func SetCurrent(client *Client) { |
| 9 | currentClient.Store(client) |
| 10 | } |
| 11 | |
| 12 | // Current returns the active home client instance, if any. |
| 13 | func Current() *Client { |
no outgoing calls