ClientOptDebug returns a function that sets the debug setting on client options set
(debug bool)
| 148 | |
| 149 | // ClientOptDebug returns a function that sets the debug setting on client options set |
| 150 | func ClientOptDebug(debug bool) ClientOption { |
| 151 | return func(client *Client) { |
| 152 | client.debug = debug |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | // ClientOptEnableCache returns a function that sets the enableCache setting on a client options set |
| 157 | func ClientOptEnableCache(enableCache bool) ClientOption { |
no outgoing calls
searching dependent graphs…