|
|
@ -61,7 +61,7 @@ func ClientOptCache(cache *Cache) ClientOption {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// ClientOptCache returns a function that sets the cache setting on a client options set
|
|
|
|
// ClientOptCredentialsFile returns a function that sets the cache setting on a client options set
|
|
|
|
func ClientOptCredentialsFile(credentialsFile string) ClientOption {
|
|
|
|
func ClientOptCredentialsFile(credentialsFile string) ClientOption {
|
|
|
|
return func(client *Client) {
|
|
|
|
return func(client *Client) {
|
|
|
|
client.credentialsFile = credentialsFile
|
|
|
|
client.credentialsFile = credentialsFile
|
|
|
|