Skip to content

Authenticating with multihostpool #105

Description

@linopu

Currently while working with MultiHostPool connection is being created when calling MultiHostPool.Get method. While creating NewSingleHostPool you can dial by yourself and create a connection with given password doing something like that
p := &redigo.Pool{ Dial: func() (redigo.Conn, error) { return redigo.DialURL(fmt.Sprintf("redis://%s@%s:%d", password, host, port)) }, }
but with MultiHostPool it seems you dont have the same option

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions