I'm trying to use Go to connect to my RediSearch (Redis module) instance.
Combing through the documentation and Go code that generates the client, I don't see how to pass authentication options to the Redigo client within... Is this an oversight on my part or are we just expected to use RediSearch without securing the database?
I've also tried the following when generating a RediSearch client. Each gives errors regarding the format of the URL:
redisearch.NewClient("mypasswordhere@10.10.10.50:6379", index)
redisearch.NewClient("redis://mypasswordhere@10.10.10.50:6379", index)
Within pool.go
, in the NewSingleHostPool
function that returns a client, it seems like it should pass DialOptions
into the Dial
Redigo function instead of nil
, and have those options be passed into the RediSearch NewClient
function...