InitClient initializes the loldrivers by client by fetching the initial dataset.
(options ...Option)
| 88 | |
| 89 | // InitClient initializes the loldrivers by client by fetching the initial dataset. |
| 90 | func InitClient(options ...Option) { |
| 91 | if c == nil { |
| 92 | c = initClient(options...) |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | // GetClient constructs a singleton instance of the loldrivers client. |
| 97 | // If the client wasn't initialized, this function creates a new client |