mediocregopher / radix.v2

Redis client for Go
http://godoc.org/github.com/mediocregopher/radix.v2
MIT License
433 stars 92 forks source link

Unable to find a way to use Redis AUTH and Pool at same time #24

Closed pschlump closed 8 years ago

pschlump commented 8 years ago

So far - I am unable to find a way to authorized connections that are pooled. I need to iterate across the pooled connections and run an "AUTH "mypasswordkey"".

I am going to fork and implement an ".Auth" that performs this.

mediocregopher commented 8 years ago

Hey pschlump! there's no need to make a fork to do this, you can use pool.NewCustom in order to do what you want. See the example in the godocs here