You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Currently while working with
MultiHostPool
connection is being created when callingMultiHostPool.Get
method. While creatingNewSingleHostPool
you can dial by yourself and create a connection with given password doing something like thatp := &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 optionThe text was updated successfully, but these errors were encountered: