ClientOptWriter returns a function that sets the writer setting on client options set
(out io.Writer)
| 170 | |
| 171 | // ClientOptWriter returns a function that sets the writer setting on client options set |
| 172 | func ClientOptWriter(out io.Writer) ClientOption { |
| 173 | return func(client *Client) { |
| 174 | client.out = out |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | // ClientOptAuthorizer returns a function that sets the authorizer setting on a client options set. This |
| 179 | // can be used to override the default authorization mechanism. |
no outgoing calls
searching dependent graphs…