Skip to content

Support for passing authentication options to redigo #67

@joshuaray

Description

@joshuaray

Based on what I'm seeing in the documentation and the go code that generates the client, I'm not seeing any way to pass authentication options to the redigo library...is this an oversight on my part or are we just expected to use redisearch without securing the database?

I've tried all of the following when generating a redisearch client and each one gives errors regarding the format of the URL:

redisearch.NewClient("[email protected]:6379", index)
redisearch.NewClient("redis://[email protected]:6379", index)

Within pool.go, in the NewSingleHostPool function that returns a client, it seems like it should be passing DialOptions into the Dial redigo function instead of nil, and have those options be passed into the redisearch NewClient function.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions